kairusama commited on
Commit
1a07c8d
·
verified ·
1 Parent(s): 3740731

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,3 +1,6 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("models/vicgalle/gpt2-open-instruct-v1").launch()
 
 
 
 
1
  import gradio as gr
2
 
3
+ demo = gr.load("models/vicgalle/gpt2-open-instruct-v1")
4
+
5
+ if __name__ == "__main__":
6
+ demo.launch()