Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ embedding_model = HuggingFaceEmbeddings(
|
|
| 31 |
# =====================================================
|
| 32 |
llm = HuggingFaceEndpoint(
|
| 33 |
repo_id="NousResearch/Llama-2-7b-chat-hf",
|
| 34 |
-
task="text-generation",
|
| 35 |
huggingfacehub_api_token=HF_TOKEN,
|
| 36 |
temperature=0.5,
|
| 37 |
max_new_tokens=512
|
|
|
|
| 31 |
# =====================================================
|
| 32 |
llm = HuggingFaceEndpoint(
|
| 33 |
repo_id="NousResearch/Llama-2-7b-chat-hf",
|
| 34 |
+
task="text-generation",
|
| 35 |
huggingfacehub_api_token=HF_TOKEN,
|
| 36 |
temperature=0.5,
|
| 37 |
max_new_tokens=512
|