Update app.py
Browse files
app.py
CHANGED
@@ -69,10 +69,10 @@ def generate_response(text):
|
|
69 |
if language == "hebrew":
|
70 |
# Hebrew prompt: answer shortly but explain your decision-making process
|
71 |
content = "转砖诪讜专 注诇 转砖讜讘讛 拽爪专讛, 讗讘诇 转住驻专 讗讬讱 拽讬讘诇转 讗转 讛讛讞诇讟讛, " + text
|
72 |
-
|
73 |
elif language == "english":
|
74 |
content = "keep it short but tell your decision making process, " + text
|
75 |
-
|
76 |
else:
|
77 |
return "Sorry, I only support Hebrew and English."
|
78 |
|
|
|
69 |
if language == "hebrew":
|
70 |
# Hebrew prompt: answer shortly but explain your decision-making process
|
71 |
content = "转砖诪讜专 注诇 转砖讜讘讛 拽爪专讛, 讗讘诇 转住驻专 讗讬讱 拽讬讘诇转 讗转 讛讛讞诇讟讛, " + text
|
72 |
+
model = "mistralai/Mistral-Nemo-Instruct-2407"
|
73 |
elif language == "english":
|
74 |
content = "keep it short but tell your decision making process, " + text
|
75 |
+
model = "mistralai/Mistral-Nemo-Instruct-2407"
|
76 |
else:
|
77 |
return "Sorry, I only support Hebrew and English."
|
78 |
|