doc: update
Browse files
README.md
CHANGED
@@ -34,10 +34,29 @@ And then we will setup CI/CD for automated deployment.
|
|
34 |
|
35 |
Complete the exercises in `app/app.py` and `.env` (see `.env.sample`). Make sure you follow the instruction here: [https://huggingface.co/docs/hub/en/spaces-github-actions](https://huggingface.co/docs/hub/en/spaces-github-actions) and here [Hugging Face Hub: Important Git Authentication Changes](https://huggingface.co/blog/password-git-deprecation).
|
36 |
|
37 |
-
After deployment, please remember to into Huggingface Space settings to setup the environment variables
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
> NOTE: To reduce the scope, we will manually deploy to Huggingface Only. We prepared `.github/workflows/deploy-to-hf.yml` workflow as an extracurricular exercise for the learner.
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
## References
|
42 |
|
43 |
- [Huggingface Spaces](https://huggingface.co/pricing)
|
|
|
34 |
|
35 |
Complete the exercises in `app/app.py` and `.env` (see `.env.sample`). Make sure you follow the instruction here: [https://huggingface.co/docs/hub/en/spaces-github-actions](https://huggingface.co/docs/hub/en/spaces-github-actions) and here [Hugging Face Hub: Important Git Authentication Changes](https://huggingface.co/blog/password-git-deprecation).
|
36 |
|
37 |
+
After deployment, please remember to into Huggingface Space settings to setup the following environment variables and secrets:
|
38 |
+
```
|
39 |
+
# Variables
|
40 |
+
LANGSMITH_TRACING="true"
|
41 |
+
LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
|
42 |
+
LANGSMITH_PROJECT="linkedin_learning"
|
43 |
+
ALLOW_RESET="true"
|
44 |
+
|
45 |
+
# Secrets
|
46 |
+
LANGSMITH_API_KEY=""
|
47 |
+
```
|
48 |
|
49 |
> NOTE: To reduce the scope, we will manually deploy to Huggingface Only. We prepared `.github/workflows/deploy-to-hf.yml` workflow as an extracurricular exercise for the learner.
|
50 |
|
51 |
+
> NOTE: if you are deploying from this current branch `03_06`, plase do
|
52 |
+
```
|
53 |
+
git push --force space 03_06:main
|
54 |
+
```
|
55 |
+
otherwise if you fork this repository and deploy from your own main branch
|
56 |
+
```
|
57 |
+
git push --force space main
|
58 |
+
```
|
59 |
+
|
60 |
## References
|
61 |
|
62 |
- [Huggingface Spaces](https://huggingface.co/pricing)
|