disohugface commited on
Commit
abec680
·
verified ·
1 Parent(s): db5f818

Update app.py

Browse files

Updated version 3

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def process_image(image):
15
 
16
  demo = gr.Interface(
17
  fn=process_image,
18
- inputs=gr.File(type="pil"),
19
  outputs="json",
20
  )
21
 
 
15
 
16
  demo = gr.Interface(
17
  fn=process_image,
18
+ inputs=gr.Image(type="pil"),
19
  outputs="json",
20
  )
21