Update app.py
Browse files
app.py
CHANGED
@@ -176,6 +176,7 @@ def handle(
|
|
176 |
print(f"all file in hf: {hf_file_list}")
|
177 |
|
178 |
for filename in hf_file_list:
|
|
|
179 |
clone_from_ms(ms_token, ms_repo, clone_dir)
|
180 |
time.sleep(1)
|
181 |
pull_from_hf(hf_token, hf_repo, filename)
|
@@ -183,6 +184,7 @@ def handle(
|
|
183 |
move_file_from_local_to_clone_dir(filename, clone_dir)
|
184 |
time.sleep(1)
|
185 |
push_to_ms(USERNAME, EMAIL, ms_repo, clone_dir, filename)
|
|
|
186 |
time.sleep(10)
|
187 |
|
188 |
|
|
|
176 |
print(f"all file in hf: {hf_file_list}")
|
177 |
|
178 |
for filename in hf_file_list:
|
179 |
+
print(f"begin to process file: {filename}")
|
180 |
clone_from_ms(ms_token, ms_repo, clone_dir)
|
181 |
time.sleep(1)
|
182 |
pull_from_hf(hf_token, hf_repo, filename)
|
|
|
184 |
move_file_from_local_to_clone_dir(filename, clone_dir)
|
185 |
time.sleep(1)
|
186 |
push_to_ms(USERNAME, EMAIL, ms_repo, clone_dir, filename)
|
187 |
+
print(f"process file finish: {filename}")
|
188 |
time.sleep(10)
|
189 |
|
190 |
|