Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,6 +41,7 @@ print("✅ Vector database loaded.")
|
|
| 41 |
print("🚀 Initializing LLM via Hugging Face Endpoint...")
|
| 42 |
llm = HuggingFaceEndpoint(
|
| 43 |
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
|
|
|
| 44 |
temperature=0.1,
|
| 45 |
max_new_tokens=512,
|
| 46 |
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
|
|
|
| 41 |
print("🚀 Initializing LLM via Hugging Face Endpoint...")
|
| 42 |
llm = HuggingFaceEndpoint(
|
| 43 |
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 44 |
+
task="conversational",
|
| 45 |
temperature=0.1,
|
| 46 |
max_new_tokens=512,
|
| 47 |
huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
|