JulioContrerasH commited on
Commit
07e02e0
verified
1 Parent(s): cae5048

Upload: Multiple files to assets directory

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -40,10 +40,11 @@ def setup_local_repo_for_push():
40
  repo = Repository(
41
  local_dir=SPACE_LOCAL_DIR,
42
  clone_from=SPACE_REPO_URL,
43
- use_auth_token=token,
44
- user_name="JulioContrerasH", # Cambia si quieres otro nombre
45
- user_email="[email protected]" # Cambia si quieres otro email
46
  )
 
 
 
47
 
48
  # Por si se actualiz贸 el Space en remoto
49
  try:
 
40
  repo = Repository(
41
  local_dir=SPACE_LOCAL_DIR,
42
  clone_from=SPACE_REPO_URL,
43
+ use_auth_token=token
 
 
44
  )
45
+ # Configurar user.name y user.email
46
+ repo.git_config("user.name", "JulioContrerasH")
47
+ repo.git_config("user.email", "[email protected]")
48
 
49
  # Por si se actualiz贸 el Space en remoto
50
  try: