Redmind commited on
Commit
82a4a36
·
verified ·
1 Parent(s): 9af6954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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")