Spaces:
Build error
Build error
Update app.py
Browse files
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):
|