Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from sam2segment_structure import generate_trigger_crop
|
|
3 |
import os
|
4 |
|
5 |
if not os.path.exists("sam2"):
|
|
|
6 |
os.system("git clone https://github.com/facebookresearch/sam2.git") # 修改为你的 sam2 仓库地址
|
7 |
|
8 |
# 模拟 lane_data(后期你可以动态读取 JSON 或用户上传)
|
|
|
3 |
import os
|
4 |
|
5 |
if not os.path.exists("sam2"):
|
6 |
+
print("add sam2")
|
7 |
os.system("git clone https://github.com/facebookresearch/sam2.git") # 修改为你的 sam2 仓库地址
|
8 |
|
9 |
# 模拟 lane_data(后期你可以动态读取 JSON 或用户上传)
|