Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ from datetime import datetime
|
|
18 |
DEDICATED_MODEL = "meta-llama/Llama-3.1-8B-Instruct"
|
19 |
DEDICATED_ENDPOINT = "https://qu2d8m6dmsollhly.us-east-1.aws.endpoints.huggingface.cloud"
|
20 |
# Retrieve your write access token from the settings (assuming you stored it in st.secrets)
|
21 |
-
WRITE_ACCESS_TOKEN = st.secrets["
|
22 |
|
23 |
def get_rag_answer(query, top_results):
|
24 |
"""
|
|
|
18 |
DEDICATED_MODEL = "meta-llama/Llama-3.1-8B-Instruct"
|
19 |
DEDICATED_ENDPOINT = "https://qu2d8m6dmsollhly.us-east-1.aws.endpoints.huggingface.cloud"
|
20 |
# Retrieve your write access token from the settings (assuming you stored it in st.secrets)
|
21 |
+
WRITE_ACCESS_TOKEN = st.secrets["Llama_3_1"]
|
22 |
|
23 |
def get_rag_answer(query, top_results):
|
24 |
"""
|