updates
Browse files
app.py
CHANGED
|
@@ -9,4 +9,4 @@ def predict(img):
|
|
| 9 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 10 |
|
| 11 |
title = "Tomato Disease Diagnosis"
|
| 12 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(256,256)),title = title, outputs=gr.outputs.Label(num_top_classes=1)).launch(
|
|
|
|
| 9 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
| 10 |
|
| 11 |
title = "Tomato Disease Diagnosis"
|
| 12 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(256,256)),title = title, outputs=gr.outputs.Label(num_top_classes=1)).launch()
|