Spaces:
Build error
Build error
Commit
·
e7d9fe4
1
Parent(s):
eeb09c6
Update app.py
Browse files
app.py
CHANGED
@@ -162,11 +162,11 @@ def get_huggingface_dataset():
|
|
162 |
clone_from=path_to_dataset_repo,
|
163 |
use_auth_token=HF_TOKEN,
|
164 |
)
|
165 |
-
repo.git_pull(lfs=
|
166 |
log_file = os.path.join(dataset_dir, "flag_data_public.csv")
|
167 |
return repo, log_file
|
168 |
|
169 |
-
def update(user_choice, left, right, choose_env, data_folder=VIDEO_PATH, flag_to_huggingface=
|
170 |
global last_left_video_path
|
171 |
global last_right_video_path
|
172 |
global last_infer_left_video_path
|
|
|
162 |
clone_from=path_to_dataset_repo,
|
163 |
use_auth_token=HF_TOKEN,
|
164 |
)
|
165 |
+
repo.git_pull(lfs=False)
|
166 |
log_file = os.path.join(dataset_dir, "flag_data_public.csv")
|
167 |
return repo, log_file
|
168 |
|
169 |
+
def update(user_choice, left, right, choose_env, data_folder=VIDEO_PATH, flag_to_huggingface=True):
|
170 |
global last_left_video_path
|
171 |
global last_right_video_path
|
172 |
global last_infer_left_video_path
|