Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ with gr.Blocks() as demo:
|
|
| 22 |
with gr.Row():
|
| 23 |
signal = gr.Markdown(''' #Welcome to Maize Classifier,This model can identify if a leaf is
|
| 24 |
**HEALTHY**, has **COMMON RUST**, **BLIGHT** or **GRAY LEAF SPOT**''')
|
| 25 |
-
inp = gr.
|
| 26 |
out = gr.Label()
|
| 27 |
inp.upload(fn= classify_image, inputs = inp, outputs = out, show_progrss = True)
|
| 28 |
|
|
|
|
| 22 |
with gr.Row():
|
| 23 |
signal = gr.Markdown(''' #Welcome to Maize Classifier,This model can identify if a leaf is
|
| 24 |
**HEALTHY**, has **COMMON RUST**, **BLIGHT** or **GRAY LEAF SPOT**''')
|
| 25 |
+
inp = gr.Image()
|
| 26 |
out = gr.Label()
|
| 27 |
inp.upload(fn= classify_image, inputs = inp, outputs = out, show_progrss = True)
|
| 28 |
|