Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ repo = Repository(
|
|
26 |
|
27 |
clone_from="Anne31415/Private_Book", # Replace with your repository URL
|
28 |
|
29 |
-
token=os.
|
30 |
)
|
31 |
repo.git_pull() # Pull the latest changes (if any)
|
32 |
|
|
|
26 |
|
27 |
clone_from="Anne31415/Private_Book", # Replace with your repository URL
|
28 |
|
29 |
+
token=os.getenv["HUB_TOKEN"] # Use the secret token to authenticate
|
30 |
)
|
31 |
repo.git_pull() # Pull the latest changes (if any)
|
32 |
|