Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,4 +31,4 @@ def predict(img):
|
|
31 |
confidences = {classes[i]:(float(pred[i])) for i in range(5)}
|
32 |
return confidences
|
33 |
|
34 |
-
gr.Interface(predict,gr.inputs.Image(type='pil'),title=title,
|
|
|
31 |
confidences = {classes[i]:(float(pred[i])) for i in range(5)}
|
32 |
return confidences
|
33 |
|
34 |
+
gr.Interface(predict,gr.inputs.Image(type='pil'),title=title,outputs='label').launch(debug=True)
|