Spaces:
Runtime error
Runtime error
Ubuntu
commited on
Commit
•
c7f445d
1
Parent(s):
4fd98d5
Add application file
Browse files
app.py
CHANGED
@@ -16,5 +16,9 @@ def produce_art(prompt):
|
|
16 |
return images.images[0]
|
17 |
|
18 |
prompt = "RitaT style collage of Stalin with Kefir in outer space, fine details trending on arthouse"
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
iface.launch()
|
|
|
16 |
return images.images[0]
|
17 |
|
18 |
prompt = "RitaT style collage of Stalin with Kefir in outer space, fine details trending on arthouse"
|
19 |
+
|
20 |
+
iface = gr.Interface(fn=produce_art,
|
21 |
+
inputs=gr.Textbox(value=prompt),
|
22 |
+
outputs=gr.Image(shape=(512, 512))
|
23 |
+
)
|
24 |
iface.launch()
|