Spaces:
Runtime error
Runtime error
fix: remove the extra logs
Browse files
app.py
CHANGED
@@ -518,10 +518,10 @@ client = InferenceClientUS(
|
|
518 |
)
|
519 |
|
520 |
def asynchronous_push(f_stop):
|
521 |
-
if data_repo.is_repo_clean():
|
522 |
-
|
523 |
-
|
524 |
-
else:
|
525 |
data_repo.git_add(auto_lfs_track=True)
|
526 |
data_repo.git_commit("Auto commit by space")
|
527 |
if FORCE_PUSH == "yes":
|
|
|
518 |
)
|
519 |
|
520 |
def asynchronous_push(f_stop):
|
521 |
+
if not data_repo.is_repo_clean():
|
522 |
+
# print("Repo currently clean. Ignoring push_to_hub")
|
523 |
+
# print(data_repo.huggingface_token)
|
524 |
+
# else:
|
525 |
data_repo.git_add(auto_lfs_track=True)
|
526 |
data_repo.git_commit("Auto commit by space")
|
527 |
if FORCE_PUSH == "yes":
|