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