Solab commited on
Commit
52e6ebd
·
1 Parent(s): 5f75af3
Files changed (1) hide show
  1. app.py +1 -1
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(share=True)
 
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()