Spaces:
Sleeping
Sleeping
Théo Rousseaux
commited on
Commit
·
e78912d
1
Parent(s):
a586a8c
correction path
Browse files
app.py
CHANGED
@@ -93,10 +93,10 @@ with col2:
|
|
93 |
_left, mid, _right = st.columns([1, 3, 1])
|
94 |
with mid:
|
95 |
if os.path.exists('/home/user/.pyenv/runs'):
|
96 |
-
predict_list = os.listdir(os.path.join('runs', 'pose'))
|
97 |
predict_list.sort()
|
98 |
predict_dir = predict_list[-1]
|
99 |
-
st.video(os.path.join('runs', 'pose', predict_dir, 'squat.mp4'), loop=True)
|
100 |
else :
|
101 |
st.video(video_uploaded)
|
102 |
|
|
|
93 |
_left, mid, _right = st.columns([1, 3, 1])
|
94 |
with mid:
|
95 |
if os.path.exists('/home/user/.pyenv/runs'):
|
96 |
+
predict_list = os.listdir(os.path.join('/home/user/.pyenv/runs', 'pose'))
|
97 |
predict_list.sort()
|
98 |
predict_dir = predict_list[-1]
|
99 |
+
st.video(os.path.join('/home/user/.pyenv/runs', 'pose', predict_dir, 'squat.mp4'), loop=True)
|
100 |
else :
|
101 |
st.video(video_uploaded)
|
102 |
|