djairbee5 commited on
Commit
2a995e9
1 Parent(s): 883f925

fix of scrolling

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,7 +88,7 @@ model = load_model(model_path)
88
  # Create the Gradio interface
89
  iface = gr.Interface(
90
  fn=predict_image,
91
- inputs=gr.Image(),
92
  outputs=[gr.Label(num_top_classes=1), gr.HTML()],
93
  title="Image Classification",
94
  description="Upload an image to get the predicted label",
@@ -96,4 +96,4 @@ iface = gr.Interface(
96
  )
97
 
98
  # Launch the interface
99
- iface.launch()
 
88
  # Create the Gradio interface
89
  iface = gr.Interface(
90
  fn=predict_image,
91
+ inputs=gr.Image(height=500),
92
  outputs=[gr.Label(num_top_classes=1), gr.HTML()],
93
  title="Image Classification",
94
  description="Upload an image to get the predicted label",
 
96
  )
97
 
98
  # Launch the interface
99
+ iface.launch()