Spaces:
Running
on
A10G
Running
on
A10G
debug.
Browse files
web-demos/hugging_face/app.py
CHANGED
@@ -20,7 +20,7 @@ from model.misc import get_device
|
|
20 |
from utils.download_util import load_file_from_url, download_url_to_file
|
21 |
|
22 |
# make sample videos into mp4 as git does not allow mp4 without lfs
|
23 |
-
sample_videos_path = os.path.join("./test_sample/")
|
24 |
print(sample_videos_path)
|
25 |
download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/14334509/281805130-e57c7016-5a6d-4d3b-9df9-b4ea6372cc87.mp4", os.path.join(sample_videos_path, "test-sample0.mp4"))
|
26 |
download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/14334509/281828039-5def0fc9-3a22-45b7-838d-6bf78b6772c3.mp4", os.path.join(sample_videos_path, "test-sample1.mp4"))
|
|
|
20 |
from utils.download_util import load_file_from_url, download_url_to_file
|
21 |
|
22 |
# make sample videos into mp4 as git does not allow mp4 without lfs
|
23 |
+
sample_videos_path = os.path.join('/home/user/app/web-demos/hugging_face', "./test_sample/")
|
24 |
print(sample_videos_path)
|
25 |
download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/14334509/281805130-e57c7016-5a6d-4d3b-9df9-b4ea6372cc87.mp4", os.path.join(sample_videos_path, "test-sample0.mp4"))
|
26 |
download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/14334509/281828039-5def0fc9-3a22-45b7-838d-6bf78b6772c3.mp4", os.path.join(sample_videos_path, "test-sample1.mp4"))
|