fix: gradio.outputs deprecated
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ if __name__ == "__main__":
|
|
| 64 |
),
|
| 65 |
gr.Textbox(label="Text prompt", placeholder="A blue tree", lines=1),
|
| 66 |
],
|
| 67 |
-
outputs=gr.
|
| 68 |
article=article,
|
| 69 |
description=description,
|
| 70 |
examples=examples.values.tolist(),
|
|
|
|
| 64 |
),
|
| 65 |
gr.Textbox(label="Text prompt", placeholder="A blue tree", lines=1),
|
| 66 |
],
|
| 67 |
+
outputs=gr.Image(type="pil"),
|
| 68 |
article=article,
|
| 69 |
description=description,
|
| 70 |
examples=examples.values.tolist(),
|