Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,14 +96,12 @@ Links to HuggingFace Models:
|
|
96 |
|
97 |
models = ["facebook/detr-resnet-50","facebook/detr-resnet-101",'hustvl/yolos-small']
|
98 |
|
99 |
-
options = gr.Dropdown(choices=models,label='Select Object Detection Model',show_label=True)
|
100 |
-
|
101 |
demo = gr.Blocks()
|
102 |
|
103 |
with demo:
|
104 |
gr.Markdown(title)
|
105 |
gr.Markdown(description)
|
106 |
-
options
|
107 |
slider_input = gr.Slider(minimum=0.2,maximum=1,value=0.7,label='Prediction Threshold')
|
108 |
|
109 |
with gr.Tabs():
|
|
|
96 |
|
97 |
models = ["facebook/detr-resnet-50","facebook/detr-resnet-101",'hustvl/yolos-small']
|
98 |
|
|
|
|
|
99 |
demo = gr.Blocks()
|
100 |
|
101 |
with demo:
|
102 |
gr.Markdown(title)
|
103 |
gr.Markdown(description)
|
104 |
+
options = gr.Dropdown(choices=models,label='Select Object Detection Model',show_label=True)
|
105 |
slider_input = gr.Slider(minimum=0.2,maximum=1,value=0.7,label='Prediction Threshold')
|
106 |
|
107 |
with gr.Tabs():
|