Spaces:
Sleeping
Sleeping
Added Multiple things
Browse files
app.py
CHANGED
|
@@ -94,8 +94,8 @@ def edge_directed_interpolation(lr_img_pil, scale=2):
|
|
| 94 |
|
| 95 |
fourier_page = gr.Interface(
|
| 96 |
fn=fourier_upscale,
|
| 97 |
-
inputs=[gr.Image(label="Low Resolution Image")
|
| 98 |
-
|
| 99 |
outputs=gr.Image(type="pil", label="High Resolution Images"),
|
| 100 |
title="Fourier Upsampling",
|
| 101 |
examples=[
|
|
@@ -151,7 +151,7 @@ random_forest_page = gr.Interface(
|
|
| 151 |
# ✅ EDI Page
|
| 152 |
edi_page = gr.Interface(
|
| 153 |
fn=edge_directed_interpolation,
|
| 154 |
-
inputs=[gr.Image(label="Low Resolution Image")
|
| 155 |
outputs=gr.Image(type="pil", label="High Resolution Image"),
|
| 156 |
title="Edge Directed Interpolation",
|
| 157 |
examples=[
|
|
|
|
| 94 |
|
| 95 |
fourier_page = gr.Interface(
|
| 96 |
fn=fourier_upscale,
|
| 97 |
+
inputs=[gr.Image(label="Low Resolution Image")
|
| 98 |
+
],
|
| 99 |
outputs=gr.Image(type="pil", label="High Resolution Images"),
|
| 100 |
title="Fourier Upsampling",
|
| 101 |
examples=[
|
|
|
|
| 151 |
# ✅ EDI Page
|
| 152 |
edi_page = gr.Interface(
|
| 153 |
fn=edge_directed_interpolation,
|
| 154 |
+
inputs=[gr.Image(label="Low Resolution Image")],
|
| 155 |
outputs=gr.Image(type="pil", label="High Resolution Image"),
|
| 156 |
title="Edge Directed Interpolation",
|
| 157 |
examples=[
|