Spaces:
Runtime error
Runtime error
mayuema
commited on
Commit
•
b74e139
1
Parent(s):
05d77ac
updata
Browse files
app.py
CHANGED
@@ -12,17 +12,14 @@ import subprocess
|
|
12 |
sys.path.append('FollowYourPose')
|
13 |
|
14 |
|
|
|
|
|
|
|
15 |
current_dir = os.getcwd()
|
16 |
print("path is :", current_dir)
|
17 |
print("current_dir i :", os.listdir(current_dir))
|
18 |
print("dir i :", os.listdir(os.path.join(current_dir,'data')))
|
19 |
-
|
20 |
-
|
21 |
-
# /home/user/app/data/download.sh
|
22 |
-
|
23 |
-
result = subprocess.run(['bash', './data/download.sh'], stdout=subprocess.PIPE)
|
24 |
-
result.stdout.decode()
|
25 |
-
|
26 |
|
27 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
28 |
pipe = merge_config_then_run()
|
|
|
12 |
sys.path.append('FollowYourPose')
|
13 |
|
14 |
|
15 |
+
result = subprocess.run(['bash', './data/download.sh'], stdout=subprocess.PIPE)
|
16 |
+
result.stdout.decode()
|
17 |
+
|
18 |
current_dir = os.getcwd()
|
19 |
print("path is :", current_dir)
|
20 |
print("current_dir i :", os.listdir(current_dir))
|
21 |
print("dir i :", os.listdir(os.path.join(current_dir,'data')))
|
22 |
+
print("dir 222 :", os.listdir(os.path.join(current_dir,'data/example_video')))
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
HF_TOKEN = os.getenv('HF_TOKEN')
|
25 |
pipe = merge_config_then_run()
|