Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -110,6 +110,8 @@ DB_NAME = 'u852023448_redmindgpt'
|
|
110 |
|
111 |
api= HfApi()
|
112 |
token = os.getenv("HF_TOKEN")
|
|
|
|
|
113 |
login(token=os.getenv("HF_TOKEN"))
|
114 |
|
115 |
repo_id = os.getenv("repo_id")
|
|
|
110 |
|
111 |
api= HfApi()
|
112 |
token = os.getenv("HF_TOKEN")
|
113 |
+
api.set_access_token(token="token", add_to_git_credential=True)
|
114 |
+
|
115 |
login(token=os.getenv("HF_TOKEN"))
|
116 |
|
117 |
repo_id = os.getenv("repo_id")
|