StefanoDUrso commited on
Commit
d708e6b
·
1 Parent(s): aa56e83

handling authentication

Browse files
.github/workflows/actions_onpush.yaml CHANGED
@@ -19,4 +19,3 @@ jobs:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run:
21
  git push https://paisleypark3121:$HF_TOKEN@huggingface.co/spaces/StefanoDUrso/Chainlit-docker main
22
- chainlit create-secret
 
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run:
21
  git push https://paisleypark3121:$HF_TOKEN@huggingface.co/spaces/StefanoDUrso/Chainlit-docker main
 
README.md CHANGED
@@ -104,3 +104,10 @@ It is possible to act as follows:
104
  -- git commit -m "do something"
105
  -- git push
106
  Please note that the last opearation is no more git push github_repo but just git push, because github is the main reference now
 
 
 
 
 
 
 
 
104
  -- git commit -m "do something"
105
  -- git push
106
  Please note that the last opearation is no more git push github_repo but just git push, because github is the main reference now
107
+
108
+ --
109
+
110
+ in order to handle authentication it is necessary to generate a key:
111
+ chainlit create-secret
112
+ then the key generated must be included in the .env file
113
+ CHAINLIT_AUTH_SECRET=YOUR_KEY_HERE