Spaces:
Sleeping
Sleeping
Gabolozano
commited on
Commit
•
c68b83c
1
Parent(s):
8a42819
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ with gr.Blocks() as demo:
|
|
50 |
with gr.Column():
|
51 |
gr.Markdown("## Object Detection")
|
52 |
inp_image = gr.Image(label="Upload your image here")
|
53 |
-
model_dropdown = gr.Dropdown(choices=["facebook/detr-resnet-50", "facebook/detr-resnet-
|
54 |
threshold_slider = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, value=0.25, label="Detection Threshold")
|
55 |
run_button = gr.Button("Detect Objects")
|
56 |
with gr.Column():
|
|
|
50 |
with gr.Column():
|
51 |
gr.Markdown("## Object Detection")
|
52 |
inp_image = gr.Image(label="Upload your image here")
|
53 |
+
model_dropdown = gr.Dropdown(choices=["facebook/detr-resnet-50", "facebook/detr-resnet-101"], value="facebook/detr-resnet-50", label="Select Model")
|
54 |
threshold_slider = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, value=0.25, label="Detection Threshold")
|
55 |
run_button = gr.Button("Detect Objects")
|
56 |
with gr.Column():
|