Dekonstruktio commited on
Commit
148f4b1
·
verified ·
1 Parent(s): 34cc88c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
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="Input image"),
211
- gr.Radio([2, 4, 6], value=4, label="Scale", type="value"),
212
  ],
213
- outputs=gr.Image(type="pil", label="Upscaled", format="png"),
214
- title="PixelBoost AI Upscaler",
215
  description=(
216
- "Real-ESRGAN (realesr-general-x4v3) running on HuggingFace free CPU. "
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",