Wootang01 commited on
Commit
254a8fa
·
1 Parent(s): 1beb286

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  generator = pipeline('text-generation', model='bigscience/bloom-560m')
2
 
3
  def generate(text):
 
1
+ import gradio as gr
2
+ from transformers import pipeline
3
+
4
  generator = pipeline('text-generation', model='bigscience/bloom-560m')
5
 
6
  def generate(text):