sabaridsnfuji
commited on
Commit
•
e00ea77
1
Parent(s):
86c8f1b
Update app.py
Browse files
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",
|
122 |
outputs=[gr.Image(label="Result Image"), gr.Textbox(label="Predictions JSON")],
|
123 |
-
title="
|
124 |
-
description="Upload
|
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
|