Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,5 +27,5 @@ def generate_image(prompt: str, secret: str):
|
|
| 27 |
|
| 28 |
return buffer
|
| 29 |
|
| 30 |
-
iface = gr.Interface(fn=generate_image, inputs=[Textbox(label="prompt"), Textbox(label="secret")], outputs=gr.outputs.
|
| 31 |
iface.launch()
|
|
|
|
| 27 |
|
| 28 |
return buffer
|
| 29 |
|
| 30 |
+
iface = gr.Interface(fn=generate_image, inputs=[Textbox(label="prompt"), Textbox(label="secret")], outputs=gr.outputs.Bytes())
|
| 31 |
iface.launch()
|