Spaces:
Sleeping
Sleeping
fix
Browse files- app/recommender.py +2 -2
app/recommender.py
CHANGED
|
@@ -22,14 +22,14 @@ class Recommender:
|
|
| 22 |
self.llmExplanation = ChatOpenAI(
|
| 23 |
openai_api_key=os.environ["OPENROUTER"],
|
| 24 |
openai_api_base="https://openrouter.ai/api/v1",
|
| 25 |
-
model="
|
| 26 |
temperature=0,
|
| 27 |
max_tokens=512,
|
| 28 |
)
|
| 29 |
self.llmTranslation = ChatOpenAI(
|
| 30 |
openai_api_key=os.environ["OPENROUTER"],
|
| 31 |
openai_api_base="https://openrouter.ai/api/v1",
|
| 32 |
-
model="
|
| 33 |
temperature=0,
|
| 34 |
max_tokens=512
|
| 35 |
)
|
|
|
|
| 22 |
self.llmExplanation = ChatOpenAI(
|
| 23 |
openai_api_key=os.environ["OPENROUTER"],
|
| 24 |
openai_api_base="https://openrouter.ai/api/v1",
|
| 25 |
+
model="mistralai/mistral-7b-instruct:free",
|
| 26 |
temperature=0,
|
| 27 |
max_tokens=512,
|
| 28 |
)
|
| 29 |
self.llmTranslation = ChatOpenAI(
|
| 30 |
openai_api_key=os.environ["OPENROUTER"],
|
| 31 |
openai_api_base="https://openrouter.ai/api/v1",
|
| 32 |
+
model="mistralai/mistral-7b-instruct:free", # switch here
|
| 33 |
temperature=0,
|
| 34 |
max_tokens=512
|
| 35 |
)
|