Spaces:
Running
on
Zero
Running
on
Zero
Demo touch-ups
Browse files
app.py
CHANGED
@@ -75,4 +75,10 @@ def generate_image(prompt: str):
|
|
75 |
yield images
|
76 |
|
77 |
|
78 |
-
gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
yield images
|
76 |
|
77 |
|
78 |
+
gr.Interface(
|
79 |
+
fn=generate_image,
|
80 |
+
inputs=gr.Text(label="Prompt"),
|
81 |
+
outputs=gr.Gallery(rows=3, columns=3, height='60vh'),
|
82 |
+
examples=["A cat playing with a ball of yarn"],
|
83 |
+
cache_examples=False,
|
84 |
+
).launch()
|