Spaces:
Runtime error
Runtime error
typo fix
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ def classify(im):
|
|
22 |
# following dummy till i figure out how to upload custom saved model
|
23 |
|
24 |
def classify1(im):
|
25 |
-
|
26 |
-
|
27 |
|
28 |
interface = interface = gr.Interface(classify1, inputs='image', outputs='label', title='Leaf Classification demo',
|
29 |
description='Demo of fine-tuning a ViT for image classification based on the bean dataset classification') # FILL HERE
|
|
|
22 |
# following dummy till i figure out how to upload custom saved model
|
23 |
|
24 |
def classify1(im):
|
25 |
+
label = {'leaf spot' : 0.9, 'rust' : 0.1}
|
26 |
+
return label
|
27 |
|
28 |
interface = interface = gr.Interface(classify1, inputs='image', outputs='label', title='Leaf Classification demo',
|
29 |
description='Demo of fine-tuning a ViT for image classification based on the bean dataset classification') # FILL HERE
|