Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,11 +37,11 @@ def process1(prompt):
|
|
37 |
return image_return
|
38 |
|
39 |
sandbox = gradio.Interface(fn=process1,
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
)
|
47 |
sandbox.queue(concurrency_count=20).launch()
|
|
|
37 |
return image_return
|
38 |
|
39 |
sandbox = gradio.Interface(fn=process1,
|
40 |
+
inputs=[gradio.Textbox(label="Enter Prompt:")],
|
41 |
+
outputs=[gradio.Image(label="Produced Image")],
|
42 |
+
title='AlStable Text to Image'),
|
43 |
+
examples=[["lovely scenery with a honey badger in a forest ; in the style of walt disney"],
|
44 |
+
["lovely scenery with a honey badger in a forest ; in the style of vintedois"],
|
45 |
+
["lovely scenery with a honey badger in a forest ; in the style of dreamlike"]]
|
46 |
)
|
47 |
sandbox.queue(concurrency_count=20).launch()
|