Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,6 +27,9 @@ def init_data_storage_connection():
|
|
| 27 |
repo_type="space",
|
| 28 |
use_auth_token=HF_HUB_TOKEN
|
| 29 |
)
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
print(f"[init_data_storage_connection] Pulling latest data from {DATA_STORAGE_REPO}...")
|
| 32 |
repo.git_pull(rebase=True)
|
|
|
|
| 27 |
repo_type="space",
|
| 28 |
use_auth_token=HF_HUB_TOKEN
|
| 29 |
)
|
| 30 |
+
# Configure git user
|
| 31 |
+
repo.git_config_username_and_email("git_user", f"load_distributor")
|
| 32 |
+
repo.git_config_username_and_email("git_email", f"loaddistributor@takeiteasy.space")
|
| 33 |
|
| 34 |
print(f"[init_data_storage_connection] Pulling latest data from {DATA_STORAGE_REPO}...")
|
| 35 |
repo.git_pull(rebase=True)
|