sabaridsnfuji commited on
Commit
e00ea77
1 Parent(s): 86c8f1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -118,10 +118,10 @@ def gradio_interface(image):
118
  # Create the Gradio Interface
119
  gr_interface = gr.Interface(
120
  fn=gradio_interface,
121
- inputs=gr.Image(label="Upload or Select an Image", type="pil", sample_images=sample_images),
122
  outputs=[gr.Image(label="Result Image"), gr.Textbox(label="Predictions JSON")],
123
- title="OpenVINO Model Inference with Gradio",
124
- description="Upload an image or select a sample image to get model predictions with bounding boxes and probabilities."
125
  )
126
 
127
  # Launch the Gradio interface if run as main
 
118
  # Create the Gradio Interface
119
  gr_interface = gr.Interface(
120
  fn=gradio_interface,
121
+ inputs=gr.Image(label="Upload or Select an Image", type="pil", examples=sample_images),
122
  outputs=[gr.Image(label="Result Image"), gr.Textbox(label="Predictions JSON")],
123
+ title="House CAD Design Object Detection",
124
+ description="Upload a CAD design image of a house to detect objects with bounding boxes and probabilities."
125
  )
126
 
127
  # Launch the Gradio interface if run as main