Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -65,10 +65,10 @@ def gradio_interface(image, save_as_jpg):
|
|
65 |
interface = gr.Interface(
|
66 |
fn=gradio_interface,
|
67 |
inputs=[
|
68 |
-
gr.
|
69 |
-
gr.
|
70 |
],
|
71 |
-
outputs=gr.
|
72 |
title="Image Upscaler",
|
73 |
description="Upload an image, upscale it, and download the new image.",
|
74 |
)
|
|
|
65 |
interface = gr.Interface(
|
66 |
fn=gradio_interface,
|
67 |
inputs=[
|
68 |
+
gr.Image(type="pil", label="Upload Image"),
|
69 |
+
gr.Checkbox(default=True, label="Save as JPEG"),
|
70 |
],
|
71 |
+
outputs=gr.File(label="Download Upscaled Image"),
|
72 |
title="Image Upscaler",
|
73 |
description="Upload an image, upscale it, and download the new image.",
|
74 |
)
|