Spaces:
Runtime error
Runtime error
Commit
·
6e090d9
1
Parent(s):
97c0535
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,6 +31,6 @@ def update_output_text(prompt):
|
|
| 31 |
|
| 32 |
interface = gradio.Interface(fn=update_output_text,
|
| 33 |
inputs=[gradio.inputs.Textbox(label="Enter Prompt:")],
|
| 34 |
-
outputs=[gradio.outputs.Textbox(label="Generated Text"
|
| 35 |
title='AlStable Text to Image')
|
| 36 |
interface.launch()
|
|
|
|
| 31 |
|
| 32 |
interface = gradio.Interface(fn=update_output_text,
|
| 33 |
inputs=[gradio.inputs.Textbox(label="Enter Prompt:")],
|
| 34 |
+
outputs=[gradio.outputs.Textbox(label="Generated Text"), gradio.outputs.Image(label="Generated Image",type="pil")],
|
| 35 |
title='AlStable Text to Image')
|
| 36 |
interface.launch()
|