avanish07 commited on
Commit
5f77b3b
·
1 Parent(s): 607ec5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,8 +89,8 @@ def predict_count(input_image):
89
  density_map_color = plt.cm.jet(density_map / np.max(density_map))
90
 
91
  return predicted_count, density_map_color
92
- from gradio.inputs import Image
93
- from gradio.outputs import Label, Image
94
  input_interface = gr.inputs.Image(label="Input Image")
95
  output_interface = [
96
  Label(label="Predicted Count"),
 
89
  density_map_color = plt.cm.jet(density_map / np.max(density_map))
90
 
91
  return predicted_count, density_map_color
92
+ from gradio.components import Image
93
+ from gradio.components import Label, Image
94
  input_interface = gr.inputs.Image(label="Input Image")
95
  output_interface = [
96
  Label(label="Predicted Count"),