Update app.py
Browse files
app.py
CHANGED
|
@@ -4,13 +4,13 @@ import os
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
|
| 14 |
-
os.system(f"pip install inference[yolo-world]==0.9.13")
|
| 15 |
-
print("install inference-yolo-world")
|
| 16 |
os.system(f"python app2.py")
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
+
os.system(f"git clone https://github.com/Curt-Park/yolo-world-with-efficientvit-sam.git")
|
| 8 |
+
cwd0 = os.getcwd()
|
| 9 |
+
cwd1 = os.path.join(cwd0, "yolo-world-with-efficientvit-sam")
|
| 10 |
+
os.chdir(cwd1)
|
| 11 |
+
os.system("make setup")
|
| 12 |
+
os.chdir(f"cd /home/user/app")
|
| 13 |
|
| 14 |
+
# os.system(f"pip install inference[yolo-world]==0.9.13")
|
| 15 |
+
# print("install inference-yolo-world")
|
| 16 |
os.system(f"python app2.py")
|