Spaces:
Sleeping
Sleeping
Commit
·
5fb6975
1
Parent(s):
02d7694
Update app.py
Browse files
app.py
CHANGED
@@ -96,6 +96,13 @@ with gr.Blocks(css=css) as app:
|
|
96 |
label="Select an object detection model",
|
97 |
show_label=True,
|
98 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
with gr.Row():
|
100 |
slider_input = gr.Slider(
|
101 |
minimum=0.2, maximum=1, value=0.7, label="Prediction threshold"
|
|
|
96 |
label="Select an object detection model",
|
97 |
show_label=True,
|
98 |
)
|
99 |
+
with gr.Row():
|
100 |
+
options = gr.Dropdown(
|
101 |
+
value=8,
|
102 |
+
choices=[2, 4, 8, 16],
|
103 |
+
label="Select the number of attention heads in encoder and decoder",
|
104 |
+
show_label=True,
|
105 |
+
)
|
106 |
with gr.Row():
|
107 |
slider_input = gr.Slider(
|
108 |
minimum=0.2, maximum=1, value=0.7, label="Prediction threshold"
|