Spaces:
Running
on
A10G
Running
on
A10G
change color.
Browse files
web-demos/hugging_face/app.py
CHANGED
@@ -20,8 +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('/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"))
|
27 |
download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/76810782/281807801-69b9f70c-1e56-428d-9b1b-4870c5e533a7.mp4", os.path.join(sample_videos_path, "test-sample2.mp4"))
|
@@ -409,7 +408,8 @@ If you have any questions, please feel free to reach me out at <b>shangchenzhou@
|
|
409 |
"""
|
410 |
css = """
|
411 |
.gradio-container {width: 85% !important}
|
412 |
-
.gr-monochrome-group {border-radius: 5px !important; border: revert-layer !important; border-width: 2px !important; color: black !important}
|
|
|
413 |
button {border-radius: 8px !important;}
|
414 |
.add_button {background-color: #4CAF50 !important;}
|
415 |
.remove_button {background-color: #f44336 !important;}
|
|
|
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 |
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"))
|
25 |
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"))
|
26 |
download_url_to_file("https://github-production-user-asset-6210df.s3.amazonaws.com/76810782/281807801-69b9f70c-1e56-428d-9b1b-4870c5e533a7.mp4", os.path.join(sample_videos_path, "test-sample2.mp4"))
|
|
|
408 |
"""
|
409 |
css = """
|
410 |
.gradio-container {width: 85% !important}
|
411 |
+
.gr-monochrome-group {border-radius: 5px !important; border: revert-layer !important; border-width: 2px !important; color: black !important;}
|
412 |
+
span.svelte-s1r2yt {font-size: 16px !important; font-weight: bold !important; color: !important;}
|
413 |
button {border-radius: 8px !important;}
|
414 |
.add_button {background-color: #4CAF50 !important;}
|
415 |
.remove_button {background-color: #f44336 !important;}
|