Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -207,15 +207,13 @@ def upscale(image: Image.Image | None, scale: int = 4) -> Image.Image:
|
|
| 207 |
demo = gr.Interface(
|
| 208 |
fn=upscale,
|
| 209 |
inputs=[
|
| 210 |
-
gr.Image(type="pil", label="
|
| 211 |
-
gr.Radio([2, 4, 6], value=
|
| 212 |
],
|
| 213 |
-
outputs=gr.Image(type="pil", label="
|
| 214 |
-
title="
|
| 215 |
description=(
|
| 216 |
-
"
|
| 217 |
-
"Expect 20-90s per image. Called from the PixelBoost backend when "
|
| 218 |
-
"users pick AI Enhance mode."
|
| 219 |
),
|
| 220 |
api_name="upscale",
|
| 221 |
flagging_mode="never",
|
|
|
|
| 207 |
demo = gr.Interface(
|
| 208 |
fn=upscale,
|
| 209 |
inputs=[
|
| 210 |
+
gr.Image(type="pil", label=""),
|
| 211 |
+
gr.Radio([2, 4, 6], value=6, label="", type="value"),
|
| 212 |
],
|
| 213 |
+
outputs=gr.Image(type="pil", label="", format="jpg"),
|
| 214 |
+
title="",
|
| 215 |
description=(
|
| 216 |
+
""
|
|
|
|
|
|
|
| 217 |
),
|
| 218 |
api_name="upscale",
|
| 219 |
flagging_mode="never",
|