Wootang01 commited on
Commit
0ddf388
·
1 Parent(s): 15e84db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipe = pipeline("text-generation", model='EleutherAI/gpt-neo-2.7B')
5
-
6
  gr.Interface.from_pipeline(pipe).launch()
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ pipe = pipeline("text-generation", model='EleutherAI/pythia-1.3b')
5
+ demo.queue(concurrency_count=3)
6
  gr.Interface.from_pipeline(pipe).launch()