52Hz commited on
Commit
0525676
1 Parent(s): 101c188

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,12 +26,12 @@ article = "<p style='text-align: center'><a href='https://ieeexplore.ieee.org/do
26
  examples = [['set5/baby.png'], ['set5/bird.png'],['set5/butterfly.png'],['set5/head.png'],['set5/woman.png']]
27
  gr.Interface(
28
  inference,
29
- [gr.inputs.Image(type="pil", label="Input")],
30
- gr.outputs.Image(type="filepath", label="Output"),
31
  title=title,
32
  description=description,
33
  article=article,
34
  allow_flagging=False,
35
  allow_screenshot=False,
36
  examples=examples
37
- ).launch(debug=True)
 
26
  examples = [['set5/baby.png'], ['set5/bird.png'],['set5/butterfly.png'],['set5/head.png'],['set5/woman.png']]
27
  gr.Interface(
28
  inference,
29
+ [gr.components.Image(type="pil", label="Input")],
30
+ gr.components.Image(type="filepath", label="Output"),
31
  title=title,
32
  description=description,
33
  article=article,
34
  allow_flagging=False,
35
  allow_screenshot=False,
36
  examples=examples
37
+ ).launch(debug=True)