Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -1
src/streamlit_app.py
CHANGED
@@ -16,7 +16,7 @@ In the meantime, below is an example of what you can do with just a few lines of
|
|
16 |
|
17 |
|
18 |
# Set your video directory here
|
19 |
-
VIDEO_FOLDER = "synthda_falling_realreal"
|
20 |
|
21 |
st.set_page_config(layout="centered")
|
22 |
st.title("AutoSynthDa Pose Interpolation Viewer")
|
@@ -29,6 +29,7 @@ weight = st.slider("Interpolation Weight", 0.0, 1.0, step=0.1)
|
|
29 |
# Construct filename based on weight (rounded to one decimal for file matching)
|
30 |
filename = f"videos_generated_{weight:.1f}.mp4"
|
31 |
video_path = os.path.join(VIDEO_FOLDER, filename)
|
|
|
32 |
|
33 |
# Check if the video exists
|
34 |
if os.path.exists(video_path):
|
|
|
16 |
|
17 |
|
18 |
# Set your video directory here
|
19 |
+
VIDEO_FOLDER = "./synthda_falling_realreal"
|
20 |
|
21 |
st.set_page_config(layout="centered")
|
22 |
st.title("AutoSynthDa Pose Interpolation Viewer")
|
|
|
29 |
# Construct filename based on weight (rounded to one decimal for file matching)
|
30 |
filename = f"videos_generated_{weight:.1f}.mp4"
|
31 |
video_path = os.path.join(VIDEO_FOLDER, filename)
|
32 |
+
print(video_path)
|
33 |
|
34 |
# Check if the video exists
|
35 |
if os.path.exists(video_path):
|