Spaces:
Sleeping
Sleeping
Update annotator_v3_3.py
Browse files- annotator_v3_3.py +1 -1
annotator_v3_3.py
CHANGED
@@ -51,7 +51,7 @@ def extract_image_id_from_path(full_path):
|
|
51 |
return m.group(1)
|
52 |
return filename # 如果失败,就退而求其次(不建议这么多文件都失败)
|
53 |
|
54 |
-
def gradio_interface(json_file_path='
|
55 |
"""
|
56 |
主要变化:
|
57 |
1) 用 extract_image_id_from_path 提取 image_XXXX 做分组,以便同一原图的多个 pair 正确显示 "Pair x/y for this image"。
|
|
|
51 |
return m.group(1)
|
52 |
return filename # 如果失败,就退而求其次(不建议这么多文件都失败)
|
53 |
|
54 |
+
def gradio_interface(json_file_path='sample_4.json'):
|
55 |
"""
|
56 |
主要变化:
|
57 |
1) 用 extract_image_id_from_path 提取 image_XXXX 做分组,以便同一原图的多个 pair 正确显示 "Pair x/y for this image"。
|