snehilchatterjee commited on
Commit
b8f82c4
·
verified ·
1 Parent(s): 47dd500

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -341,14 +341,15 @@ interface = gr.Interface(
341
  inputs=[
342
  gr.Image(type="pil"),
343
  gr.Checkbox(label="Sharpen Image"),
344
- gr.Radio(choices=["MobileSR", "EDSR", "MiniSRGAN", "MiniSRResNET"], label="Select Model"),
345
- gr.Radio(choices=["True", "False"], label="Save Output")
346
  ],
347
  outputs=gr.Image(type="pil", label="Translated Image"),
348
  title="Correction App",
349
- description="Upload an image and get the translated version. Some images may be blurry, you can tick the checkbox to sharpen them. Choose between three different models for translation.(For close-up shots, MobileSR delivers superior performance, while EDSR excels in handling distant shots.)",
350
- allow_flagging='never'
351
  )
352
 
 
353
  # Launch the Gradio app
354
  interface.launch()
 
341
  inputs=[
342
  gr.Image(type="pil"),
343
  gr.Checkbox(label="Sharpen Image"),
344
+ gr.Radio(choices=["MobileSR", "MiniSRGAN", "MiniSRResNET"], label="Select Model", value="MobileSR"),
345
+ gr.Radio(choices=["True", "False"], label="Save Output", value="False")
346
  ],
347
  outputs=gr.Image(type="pil", label="Translated Image"),
348
  title="Correction App",
349
+ description="Upload an image and get the translated version. Some images may be blurry, you can tick the checkbox to sharpen them. Choose between three different models for translation.",
350
+ allow_flagging='never'
351
  )
352
 
353
+
354
  # Launch the Gradio app
355
  interface.launch()