linhdo commited on
Commit
abb83b0
1 Parent(s): 40f36b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def detect(image_path):
77
  return image
78
 
79
  iface = gr.Interface(fn=detect,
80
- inputs=gr.inputs.Image(label="Upload scanned document", type="filepath"),
81
  outputs="image")
82
  iface.launch()
83
 
 
77
  return image
78
 
79
  iface = gr.Interface(fn=detect,
80
+ inputs=gr.Image(label="Upload scanned document", type="filepath"),
81
  outputs="image")
82
  iface.launch()
83