Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,12 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import random
|
3 |
from huggingface_hub import Repository
|
4 |
# from datasets import load_dataset
|
5 |
from datasets import config
|
6 |
-
import os
|
7 |
|
8 |
hf_token = os.environ['hf_token'] # 确保环境变量中有你的令牌
|
9 |
submission_url = "Vchitect/VBench_sampled_video" # 数据集的 URL
|
|
|
1 |
+
import os
|
2 |
+
import shutil
|
3 |
+
|
4 |
+
shutil.move("repository.py", "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py")
|
5 |
import gradio as gr
|
6 |
import random
|
7 |
from huggingface_hub import Repository
|
8 |
# from datasets import load_dataset
|
9 |
from datasets import config
|
|
|
10 |
|
11 |
hf_token = os.environ['hf_token'] # 确保环境变量中有你的令牌
|
12 |
submission_url = "Vchitect/VBench_sampled_video" # 数据集的 URL
|