Update app.py
Browse files
app.py
CHANGED
@@ -120,11 +120,13 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
|
120 |
|
121 |
# Add controls for chunking parameters
|
122 |
with gr.Row():
|
123 |
-
model_id = gr.
|
124 |
choices=['yolox_tiny', 'yolox_m', 'yolox_x'],
|
125 |
value='yolox_tiny',
|
126 |
-
label="YOLOX Model"
|
|
|
127 |
)
|
|
|
128 |
threshold = gr.Slider(minimum=0.1, maximum=0.9, value=0.25, step=0.05, label="Threshold")
|
129 |
|
130 |
gr.Examples(
|
|
|
120 |
|
121 |
# Add controls for chunking parameters
|
122 |
with gr.Row():
|
123 |
+
model_id = gr.Radio(
|
124 |
choices=['yolox_tiny', 'yolox_m', 'yolox_x'],
|
125 |
value='yolox_tiny',
|
126 |
+
label="YOLOX Model",
|
127 |
+
interactive=True
|
128 |
)
|
129 |
+
|
130 |
threshold = gr.Slider(minimum=0.1, maximum=0.9, value=0.25, step=0.05, label="Threshold")
|
131 |
|
132 |
gr.Examples(
|