R2454 commited on
Commit
8d3b96e
·
1 Parent(s): 416dd7b

Added Multiple things

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- gr.Slider(2, 6, step=1, value=2, label="Upscaling Factor"),],
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"), gr.Slider(2, 4, step=1, value=2, label="Upscaling Factor")],
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=[