Wootang01 commited on
Commit
00e2edb
·
1 Parent(s): 5822e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,6 +1,3 @@
1
  import gradio as gr
2
- from transformers import pipeline
3
 
4
- pipe = pipeline(task="text-generation", model="huggingface/facebook/opt-350m")
5
-
6
- gr.Interface.load(pipe).launch()
 
1
  import gradio as gr
 
2
 
3
+ gr.Interface.load("huggingface/facebook/opt-350m").launch()