Spaces:
Runtime error
Runtime error
Mickey Hotalen
commited on
Commit
•
33bdd7b
1
Parent(s):
3a87fa9
Update app.py
Browse files
app.py
CHANGED
@@ -22,5 +22,5 @@ def genImage(character_name, description_of_the_character):
|
|
22 |
image = Image.open(io.BytesIO(image_bytes))
|
23 |
return image
|
24 |
|
25 |
-
demo = gr.Interface(genImage, inputs=["text", "text"], outputs=["image"])
|
26 |
demo.launch()
|
|
|
22 |
image = Image.open(io.BytesIO(image_bytes))
|
23 |
return image
|
24 |
|
25 |
+
demo = gr.Interface(genImage, inputs=["text", "text"], outputs=["image"]).queue(concurrency_count=100, api_open=False).launch(show_api=False, show_error=False)
|
26 |
demo.launch()
|