Benjamin Consolvo commited on
Commit
5c50a95
·
1 Parent(s): 22dedbe

secrets in readme update

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -67,7 +67,9 @@ deactivate
67
  ### OpenAI API Key, Model Name, and Endpoint URL
68
 
69
 
70
- 1. You can add your OpenAI-compatible API key to the [Hugging Face Settings](https://huggingface.co/spaces/Intel/preventative_healthcare/settings) under "Variables and secrets". Or, you can add them directly to the [OAI_CONFIG_LIST.json](https://huggingface.co/spaces/Intel/preventative_healthcare/blob/main/OAI_CONFIG_LIST.json) file if you are keeping everything local. Don't expose your precious API key to the world!
 
 
71
 
72
  2. Modify the `model` and `base_url` to the model name and endpoint URL that you are using. The `OAI_CONFIG_LIST.json` should look like:
73
  ```json
 
67
  ### OpenAI API Key, Model Name, and Endpoint URL
68
 
69
 
70
+ 1. You can add your OpenAI-compatible API key to the [Hugging Face Settings](https://huggingface.co/spaces/Intel/preventative_healthcare/settings) under "Variables and secrets". They are called by a function called `st.secrets` [here in the app.py code](https://huggingface.co/spaces/Intel/preventative_healthcare/blob/main/app.py#L295).
71
+
72
+ Or, you can add them directly to the [OAI_CONFIG_LIST.json](https://huggingface.co/spaces/Intel/preventative_healthcare/blob/main/OAI_CONFIG_LIST.json) file if you are keeping everything local. Don't expose your precious API key to the world!
73
 
74
  2. Modify the `model` and `base_url` to the model name and endpoint URL that you are using. The `OAI_CONFIG_LIST.json` should look like:
75
  ```json