Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,8 @@ def generate_response(text):
|
|
| 57 |
temperature=0.5,
|
| 58 |
top_p=0.7
|
| 59 |
)
|
| 60 |
-
print("\ncompletion: ", completion.choices[0].message, f"\
|
|
|
|
| 61 |
|
| 62 |
return "Sorry, I only support Hebrew and English."
|
| 63 |
|
|
|
|
| 57 |
temperature=0.5,
|
| 58 |
top_p=0.7
|
| 59 |
)
|
| 60 |
+
print("\ncompletion: ", completion.choices[0].message, f"\ncurrent time: {current_time_gmt()}")
|
| 61 |
+
return completion.choices[0].message
|
| 62 |
|
| 63 |
return "Sorry, I only support Hebrew and English."
|
| 64 |
|