Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,9 @@ def predict(text_input):
|
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=predict,
|
| 16 |
inputs=gr.Textbox(lines=5, label="Input Text"),
|
| 17 |
-
outputs="
|
| 18 |
title="Diffusion Pipeline App",
|
| 19 |
-
description="Enter the text to get the model's predictions
|
| 20 |
)
|
| 21 |
|
| 22 |
# Launch the Gradio interface
|
|
|
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=predict,
|
| 16 |
inputs=gr.Textbox(lines=5, label="Input Text"),
|
| 17 |
+
outputs=gr.Image(type="numpy", label="Output Image"),
|
| 18 |
title="Diffusion Pipeline App",
|
| 19 |
+
description="Enter the text to get the model's predictions as an output image."
|
| 20 |
)
|
| 21 |
|
| 22 |
# Launch the Gradio interface
|