Spaces:
Sleeping
Sleeping
Commit
·
40afe72
1
Parent(s):
d1625ff
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def predict(image):
|
|
| 17 |
|
| 18 |
iface = gr.Interface(
|
| 19 |
fn=predict,
|
| 20 |
-
inputs=
|
| 21 |
outputs='label', interpretation='shap')
|
| 22 |
|
| 23 |
iface.launch(enable_queue=True)
|
|
|
|
| 17 |
|
| 18 |
iface = gr.Interface(
|
| 19 |
fn=predict,
|
| 20 |
+
inputs=gr.inputs.Image(type='filepath'),
|
| 21 |
outputs='label', interpretation='shap')
|
| 22 |
|
| 23 |
iface.launch(enable_queue=True)
|