Spaces:
Sleeping
Sleeping
SalmanHabeeb
commited on
Commit
·
6be91ad
1
Parent(s):
1aa9e42
Update app.py
Browse files
app.py
CHANGED
@@ -58,5 +58,5 @@ text = "<a color='#00FF00'>Keep the background dark and uniform for best results
|
|
58 |
examples = ["Potato_late_blight.jpg", "apple_black_rot.jpg", "apple_leaf.jpg"]
|
59 |
examples = [os.path.join("images", example) for example in examples]
|
60 |
|
61 |
-
interface = gr.Interface(fn=predict, inputs=image, outputs=label, description=text)
|
62 |
interface.launch()
|
|
|
58 |
examples = ["Potato_late_blight.jpg", "apple_black_rot.jpg", "apple_leaf.jpg"]
|
59 |
examples = [os.path.join("images", example) for example in examples]
|
60 |
|
61 |
+
interface = gr.Interface(fn=predict, inputs=image, outputs=label, examples=examples, description=text)
|
62 |
interface.launch()
|