vpcom commited on
Commit
6d79cf7
1 Parent(s): d0d69b6

fix: remove the extra logs

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