Spaces:
Runtime error
Runtime error
suresh-subramanian
commited on
Commit
•
a4c873c
1
Parent(s):
3c88c6f
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ def classify(im):
|
|
22 |
confidences = {label: float(probs[i]) for i, label in enumerate(labels)}
|
23 |
return confidences
|
24 |
|
25 |
-
examples = [["powdery mildew.jpg"], ["375010.jpg"]]
|
26 |
# Set gradio interface
|
27 |
-
gr_interface = gr.Interface(classify, inputs='image', outputs='label', title='Bean Classification', description='Monitor your crops health in easier way'
|
28 |
# Launch gradio
|
29 |
gr_interface.launch(debug=True)
|
|
|
22 |
confidences = {label: float(probs[i]) for i, label in enumerate(labels)}
|
23 |
return confidences
|
24 |
|
25 |
+
# examples = [["powdery mildew.jpg"], ["375010.jpg"]]
|
26 |
# Set gradio interface
|
27 |
+
gr_interface = gr.Interface(classify, inputs='image', outputs='label', title='Bean Classification', description='Monitor your crops health in easier way')
|
28 |
# Launch gradio
|
29 |
gr_interface.launch(debug=True)
|