hwberry2 commited on
Commit
238a6d7
·
1 Parent(s): 37d472b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ with gr.Blocks() as demo:
89
  # Creates the Gradio interface objects
90
  with gr.Row():
91
  with gr.Column(scale=2):
92
- image_data = gr.Image(label="Upload Image")
93
  with gr.Column(scale=1):
94
  model_prediction = gr.Text(label="Model Prediction", interactive=False)
95
  image_data.change(classifyImage, image_data, model_prediction)
 
89
  # Creates the Gradio interface objects
90
  with gr.Row():
91
  with gr.Column(scale=2):
92
+ image_data = gr.Image(label="Upload Image", type="numpy")
93
  with gr.Column(scale=1):
94
  model_prediction = gr.Text(label="Model Prediction", interactive=False)
95
  image_data.change(classifyImage, image_data, model_prediction)