Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
|
|
| 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 |
|
| 99 |
# creates a local web s
|
|
|
|
| 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, [], model_prediction)
|
| 97 |
|
| 98 |
|
| 99 |
# creates a local web s
|