ynhe commited on
Commit
d0269f7
·
verified ·
1 Parent(s): d9d19ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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