hwberry2 commited on
Commit
c7e1273
·
1 Parent(s): 8dcf68e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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