Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def detect(image_path):
|
|
| 77 |
return image
|
| 78 |
|
| 79 |
iface = gr.Interface(fn=detect,
|
| 80 |
-
inputs=gr.
|
| 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 |
|