Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ ANSWER:
|
|
| 72 |
prompt = PromptTemplate(template=prompt_template,
|
| 73 |
input_variables=['context', 'question', 'chat_history'])
|
| 74 |
|
| 75 |
-
HUGGINGFACEHUB_API_TOKEN
|
| 76 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
| 77 |
|
| 78 |
llm = HuggingFaceEndpoint(
|
|
|
|
| 72 |
prompt = PromptTemplate(template=prompt_template,
|
| 73 |
input_variables=['context', 'question', 'chat_history'])
|
| 74 |
|
| 75 |
+
HUGGINGFACEHUB_API_TOKEN=os.environ['HUGGINGFACEHUB_API_TOKEN']
|
| 76 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
| 77 |
|
| 78 |
llm = HuggingFaceEndpoint(
|