Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def generate_response(text: str) -> str:
|
|
56 |
if language == "hebrew":
|
57 |
# Hebrew prompt: answer shortly but explain your decision-making process
|
58 |
content = "转砖诪讜专 注诇 转砖讜讘讛 拽爪专讛, 讗讘诇 转住驻专 讗讬讱 拽讬讘诇转 讗转 讛讛讞诇讟讛, " + text
|
59 |
-
model = "
|
60 |
elif language == "english":
|
61 |
content = "keep it short but tell your decision making process, " + text
|
62 |
model = "mistralai/Mistral-Nemo-Instruct-2407"
|
|
|
56 |
if language == "hebrew":
|
57 |
# Hebrew prompt: answer shortly but explain your decision-making process
|
58 |
content = "转砖诪讜专 注诇 转砖讜讘讛 拽爪专讛, 讗讘诇 转住驻专 讗讬讱 拽讬讘诇转 讗转 讛讛讞诇讟讛, " + text
|
59 |
+
model = "mistralai/Mistral-Nemo-Instruct-2407" # You can change this model as needed.
|
60 |
elif language == "english":
|
61 |
content = "keep it short but tell your decision making process, " + text
|
62 |
model = "mistralai/Mistral-Nemo-Instruct-2407"
|