Update app.py
Browse files
app.py
CHANGED
@@ -45,9 +45,8 @@ def generate_response(text):
|
|
45 |
]
|
46 |
print(f"Messages: {messages}, ", f"current time: {current_time_gmt()}")
|
47 |
|
48 |
-
completion = client.chat.completions.create(
|
49 |
-
model="
|
50 |
-
# model="microsoft/Phi-3.5-mini-instruct", # good in english. not so good in hebrew
|
51 |
messages=messages,
|
52 |
max_tokens=2048,
|
53 |
temperature=0.5,
|
|
|
45 |
]
|
46 |
print(f"Messages: {messages}, ", f"current time: {current_time_gmt()}")
|
47 |
|
48 |
+
completion = client.chat.completions.create(
|
49 |
+
model="microsoft/Phi-3.5-mini-instruct", # good in english. not so good in hebrew
|
|
|
50 |
messages=messages,
|
51 |
max_tokens=2048,
|
52 |
temperature=0.5,
|