Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
#pipe = pipeline("image-classification")
|
| 4 |
#gr.Interface.from_pipeline(pipe).launch()
|
| 5 |
demo = gr.Interface(image_generator, gr.Textbox(), gr.Image())
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from transformers import pipeline
|
| 3 |
#pipe = pipeline("image-classification")
|
| 4 |
#gr.Interface.from_pipeline(pipe).launch()
|
| 5 |
demo = gr.Interface(image_generator, gr.Textbox(), gr.Image())
|