Spaces:
Runtime error
Runtime error
Upload: Multiple files to assets directory
Browse files
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:
|