chanycha commited on
Commit
595aa66
1 Parent(s): e8f5a27
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,5 +1,4 @@
1
  import gradio as gr
2
 
3
- with gr.Interface.load("huggingface/gpt2") as iface:
4
- iface.launch()
5
-
 
1
  import gradio as gr
2
 
3
+ iface = gr.Interface.load("huggingface/gpt2")
4
+ iface.launch()