Update main.py
Browse files
main.py
CHANGED
@@ -186,8 +186,8 @@ def main():
|
|
186 |
example_urls = [
|
187 |
*[
|
188 |
[
|
189 |
-
"https://huggingface.co/datasets/
|
190 |
-
"
|
191 |
0.5, 0.6, None
|
192 |
] for idx in range(1001, 1030)
|
193 |
]
|
@@ -196,7 +196,7 @@ def main():
|
|
196 |
example_images = [
|
197 |
[
|
198 |
"data/2lnWoly.jpg",
|
199 |
-
"
|
200 |
0.5, 0.6, None
|
201 |
]
|
202 |
]
|
@@ -207,9 +207,9 @@ def main():
|
|
207 |
|
208 |
model_name = gr.components.Dropdown(
|
209 |
choices=[
|
210 |
-
"
|
211 |
],
|
212 |
-
value="
|
213 |
label="model_name",
|
214 |
)
|
215 |
threshold_slider = gr.components.Slider(
|
|
|
186 |
example_urls = [
|
187 |
*[
|
188 |
[
|
189 |
+
"https://huggingface.co/datasets/intelli-zen/cppe-5/resolve/main/data/images/{}.png".format(idx),
|
190 |
+
"intelli-zen/detr_cppe5_object_detection",
|
191 |
0.5, 0.6, None
|
192 |
] for idx in range(1001, 1030)
|
193 |
]
|
|
|
196 |
example_images = [
|
197 |
[
|
198 |
"data/2lnWoly.jpg",
|
199 |
+
"intelli-zen/detr_cppe5_object_detection",
|
200 |
0.5, 0.6, None
|
201 |
]
|
202 |
]
|
|
|
207 |
|
208 |
model_name = gr.components.Dropdown(
|
209 |
choices=[
|
210 |
+
"intelli-zen/detr_cppe5_object_detection",
|
211 |
],
|
212 |
+
value="intelli-zen/detr_cppe5_object_detection",
|
213 |
label="model_name",
|
214 |
)
|
215 |
threshold_slider = gr.components.Slider(
|