Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,9 @@ import os
|
|
9 |
# local_dir = "VBench_sampled_video" # 本地文件夹路径
|
10 |
dataset = load_dataset("Vchitect/VBench_sampled_video")
|
11 |
# print(os.listdir("~/.cache/huggingface/datasets/Vchitect___VBench_sampled_video/"))
|
12 |
-
root = "~/.cache/huggingface/datasets/Vchitect___VBench_sampled_video/"
|
|
|
|
|
13 |
def print_directory_contents(path, indent=0):
|
14 |
# 打印当前目录的内容
|
15 |
try:
|
|
|
9 |
# local_dir = "VBench_sampled_video" # 本地文件夹路径
|
10 |
dataset = load_dataset("Vchitect/VBench_sampled_video")
|
11 |
# print(os.listdir("~/.cache/huggingface/datasets/Vchitect___VBench_sampled_video/"))
|
12 |
+
# root = "~/.cache/huggingface/datasets/Vchitect___VBench_sampled_video/"
|
13 |
+
root = os.environ['HF_DATASETS_CACHE']
|
14 |
+
print(root)
|
15 |
def print_directory_contents(path, indent=0):
|
16 |
# 打印当前目录的内容
|
17 |
try:
|