Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def generate_image(text, model_name):
|
|
27 |
return model.predict(text)
|
28 |
|
29 |
input_text = gr.inputs.Textbox(label="Input Text")
|
30 |
-
output_image = gr.outputs.Image(label="Generated Image")
|
31 |
|
32 |
iface = gr.Interface(
|
33 |
fn=generate_image,
|
|
|
27 |
return model.predict(text)
|
28 |
|
29 |
input_text = gr.inputs.Textbox(label="Input Text")
|
30 |
+
output_image = gr.outputs.Image(label="Generated Image", type="pil")
|
31 |
|
32 |
iface = gr.Interface(
|
33 |
fn=generate_image,
|