Spaces:
Sleeping

menikev commited on
Commit
dfced8a
·
verified ·
1 Parent(s): 2454a06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")