to-be commited on
Commit
59c537d
1 Parent(s): 4927728

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -75,16 +75,15 @@ def inference(img, task, run_on):
75
  gr.Interface(
76
  inference,
77
  [
78
- gr.inputs.Image(type="pil", label="Input"),
79
- gr.inputs.Radio(["Deraining"], default="Denoising", label='task'),
80
- gr.inputs.Dropdown(choices=inference_on, type="value", default='Downsampled Image', label='Inference on')
81
 
82
  ],
83
- gr.outputs.Image(type="pil", label="cleaned and restored"),
84
  title=title,
85
  description=description,
86
  article=article,
87
  theme ="huggingface",
88
  examples=examples,
89
- allow_flagging=False,
90
  ).launch(debug=False,enable_queue=True)
 
75
  gr.Interface(
76
  inference,
77
  [
78
+ gr.Image(type="pil", label="Input"),
79
+ gr.Radio(["Deraining"], default="Denoising", label='task'),
80
+ gr.Dropdown(choices=inference_on, type="value", default='Downsampled Image', label='Inference on')
81
 
82
  ],
83
+ gr.Image(type="pil", label="cleaned and restored"),
84
  title=title,
85
  description=description,
86
  article=article,
87
  theme ="huggingface",
88
  examples=examples,
 
89
  ).launch(debug=False,enable_queue=True)