Wootang01 commited on
Commit
4c476ba
·
1 Parent(s): a095259

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
 
2
 
 
3
  description_ = "Kindly input text, submit, and the computer will predict subsequent words for your text input."
4
 
5
- gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B").queue()
 
1
  import gradio as gr
2
+ from transformers import pipeline
3
 
4
+ pipe = pipeline('text-generation', model="EleutherAI/pythia-125m")
5
  description_ = "Kindly input text, submit, and the computer will predict subsequent words for your text input."
6
 
7
+ gr.Interface.from_pipeline(pipe).launch()