Wootang01 commited on
Commit
30ee6fb
·
1 Parent(s): 30f172e

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/bigscience/bloom-560m")
5
-
6
- gr.Interface.from_pipeline(pipe, title="Text Generator Five w/ Variables", description="Input your text, submit and the machine will output text.").launch()
 
1
  import gradio as gr
 
2
 
3
+ gr.Interface.load("huggingface/bigscience/bloom-560m", title="Text Generator Five w/ Variables", description="Input your text, submit and the machine will output text.").launch()