Spaces:
Paused
Paused
Keep the /predict endpoint name; PNG output
Browse files
app.py
CHANGED
|
@@ -146,7 +146,8 @@ demo = gr.Interface(
|
|
| 146 |
gr.Image(type="pil", label="Input"),
|
| 147 |
gr.Text(label="Prompt")
|
| 148 |
],
|
| 149 |
-
outputs=[gr.Image(type="pil", label="Ouput")],
|
|
|
|
| 150 |
title=title,
|
| 151 |
description=description,
|
| 152 |
article=article,
|
|
|
|
| 146 |
gr.Image(type="pil", label="Input"),
|
| 147 |
gr.Text(label="Prompt")
|
| 148 |
],
|
| 149 |
+
outputs=[gr.Image(type="pil", label="Ouput", format="png")],
|
| 150 |
+
api_name="predict",
|
| 151 |
title=title,
|
| 152 |
description=description,
|
| 153 |
article=article,
|