Spaces:
Build error
Build error
Ahsen Khaliq
commited on
Commit
·
8be84fd
1
Parent(s):
0a63b85
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,10 @@ os.system("gdown https://drive.google.com/uc?id=1qhnBmMdDTC_8kmNj4u2f_Htfvg6KuE1
|
|
| 8 |
|
| 9 |
os.system("unzip -j bizarre_pose_models.zip")
|
| 10 |
|
|
|
|
|
|
|
| 11 |
def inference(img):
|
| 12 |
-
os.system("python3 -m _scripts.pose_estimator "+img+"
|
| 13 |
|
| 14 |
return "./_samples/character_pose_estim.png"
|
| 15 |
|
|
|
|
| 8 |
|
| 9 |
os.system("unzip -j bizarre_pose_models.zip")
|
| 10 |
|
| 11 |
+
os.system("pwd")
|
| 12 |
+
|
| 13 |
def inference(img):
|
| 14 |
+
os.system("python3 -m _scripts.pose_estimator "+img+" home/user/app/_train/character_pose_estim/runs/feat_concat+data.ckpt")
|
| 15 |
|
| 16 |
return "./_samples/character_pose_estim.png"
|
| 17 |
|