Spaces:
Sleeping
Sleeping
SalmanHabeeb
commited on
Commit
·
b2d7ac2
1
Parent(s):
cd6c023
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def predict(img):
|
|
33 |
output.update({"Other" : 1.0 - sum})
|
34 |
return output
|
35 |
|
36 |
-
image = gr.inputs.Image(shape=(
|
37 |
label = gr.outputs.Label()
|
38 |
examples = ["Potato_late_blight.jpg", "frogeye_spots_apple_leaf.jpg", "apple_leaf.jpg"]
|
39 |
examples = [os.path.join("images", example) for example in examples]
|
|
|
33 |
output.update({"Other" : 1.0 - sum})
|
34 |
return output
|
35 |
|
36 |
+
image = gr.inputs.Image(shape=(264, 264))
|
37 |
label = gr.outputs.Label()
|
38 |
examples = ["Potato_late_blight.jpg", "frogeye_spots_apple_leaf.jpg", "apple_leaf.jpg"]
|
39 |
examples = [os.path.join("images", example) for example in examples]
|