52Hz commited on
Commit
786723e
1 Parent(s): 89adc1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -28,11 +28,9 @@ article = "<p style='text-align: center'><a href='https://' target='_blank'>Comp
28
  examples = [['Haze.png']]
29
  gr.Interface(
30
  inference,
31
- [gr.inputs.Image(type="pil", label="Input")],
32
- gr.outputs.Image(type="filepath", label="Output"),
33
  title=title,
34
  description=description,
35
- article=article,
36
- allow_flagging=False,
37
  examples=examples
38
  ).launch(debug=True)
 
28
  examples = [['Haze.png']]
29
  gr.Interface(
30
  inference,
31
+ [gr.components.Image(type="pil", label="Input")],
32
+ gr.components.Image(type="filepath", label="Output"),
33
  title=title,
34
  description=description,
 
 
35
  examples=examples
36
  ).launch(debug=True)