Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def predict_image(img):
|
|
16 |
prediction=model.predict(img_4d)[0]
|
17 |
return {classnames[i]: float(prediction[i] for i in range(2))}
|
18 |
|
19 |
-
image=gr.inputs.Image(shape=(180
|
20 |
label=gr.outputs.Label(num_top_classes=2)
|
21 |
|
22 |
article="<p style='text-align: center'>Made by Mahak xoxo</p>"
|
|
|
16 |
prediction=model.predict(img_4d)[0]
|
17 |
return {classnames[i]: float(prediction[i] for i in range(2))}
|
18 |
|
19 |
+
image=gr.inputs.Image(shape=(180))
|
20 |
label=gr.outputs.Label(num_top_classes=2)
|
21 |
|
22 |
article="<p style='text-align: center'>Made by Mahak xoxo</p>"
|