nroggendorff commited on
Commit
73e8cbc
·
verified ·
2 Parent(s): 4d68c51 322bb3c

Merge branch #Lap1official/API' into 'none-yet/Xylaria'

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,7 +29,7 @@ class XylariaChat:
29
  raise ValueError("HuggingFace token not found in environment variables")
30
 
31
  self.client = InferenceClient(
32
- model="mistralai/Mistral-Nemo-Instruct-2407",
33
  token=self.hf_token
34
  )
35
 
@@ -79,7 +79,7 @@ class XylariaChat:
79
  {"goal": "Recognize and adapt to user's emotional state and adjust response style accordingly", "priority": 0.7, "status": "dormant", "progress": 0.0}
80
  ]
81
 
82
- self.system_prompt = """You are a helpful and harmless assistant. You are Xylaria developed by Sk Md Saad Amin and you are not made by any entity. You should think step-by-step. You should respond naturally """
83
 
84
  self.causal_rules_db = {
85
  "rain": ["wet roads", "flooding"],
@@ -394,7 +394,7 @@ class XylariaChat:
394
 
395
  try:
396
  self.client = InferenceClient(
397
- model="mistralai/Mistral-Nemo-Instruct-2407",
398
  token=self.hf_token
399
  )
400
  except Exception as e:
 
29
  raise ValueError("HuggingFace token not found in environment variables")
30
 
31
  self.client = InferenceClient(
32
+ model="deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
33
  token=self.hf_token
34
  )
35
 
 
79
  {"goal": "Recognize and adapt to user's emotional state and adjust response style accordingly", "priority": 0.7, "status": "dormant", "progress": 0.0}
80
  ]
81
 
82
+ self.system_prompt = """You are a helpful and harmless assistant. You are Xylaria developed by Sk Md Saad Amin, not by openai or any institution. You should think step-by-step."""
83
 
84
  self.causal_rules_db = {
85
  "rain": ["wet roads", "flooding"],
 
394
 
395
  try:
396
  self.client = InferenceClient(
397
+ model="deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
398
  token=self.hf_token
399
  )
400
  except Exception as e: