matt-le-kat commited on
Commit
ca5aee7
1 Parent(s): 5e146d9

Update app.py

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