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

Update app.py

Browse files

Updated comit removed exampe file loading during startup

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -15,9 +15,8 @@ def process_image(image):
15
 
16
  demo = gr.Interface(
17
  fn=process_image,
18
- inputs=gr.Image(type="pil"),
19
  outputs="json",
20
- examples=[["example1.jpg"], ["example2.jpg"]]
21
  )
22
 
23
  demo.launch()
 
15
 
16
  demo = gr.Interface(
17
  fn=process_image,
18
+ inputs=gr.File(type="pil"),
19
  outputs="json",
 
20
  )
21
 
22
  demo.launch()