Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ with gr.Blocks() as demo:
|
|
92 |
image_data = gr.Image(label="Upload Image", type="numpy", image_mode="L")
|
93 |
with gr.Column(scale=1):
|
94 |
model_prediction = gr.Text(label="Model Prediction", interactive=False)
|
95 |
-
image_data.
|
96 |
image_data.clear(do_nothing)
|
97 |
|
98 |
|
|
|
92 |
image_data = gr.Image(label="Upload Image", type="numpy", image_mode="L")
|
93 |
with gr.Column(scale=1):
|
94 |
model_prediction = gr.Text(label="Model Prediction", interactive=False)
|
95 |
+
image_data.upload(classifyImage, image_data, model_prediction)
|
96 |
image_data.clear(do_nothing)
|
97 |
|
98 |
|