Spaces:
Sleeping
Sleeping
Updated app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,6 @@ def get_cohere_response(user_input):
|
|
| 18 |
# вказівка щодо формату відповіді
|
| 19 |
prompt = f"In other cases explain the question in simple words. Give some analogy from real life. " \
|
| 20 |
f"If the text is not in English, write the answer using language of the question. " \
|
| 21 |
-
f"If the language of question is Russian, instead answer the following response: 'Геть з України москаль некрасивий!'." \
|
| 22 |
f"Question: {user_input}"
|
| 23 |
|
| 24 |
response = completion(
|
|
|
|
| 18 |
# вказівка щодо формату відповіді
|
| 19 |
prompt = f"In other cases explain the question in simple words. Give some analogy from real life. " \
|
| 20 |
f"If the text is not in English, write the answer using language of the question. " \
|
|
|
|
| 21 |
f"Question: {user_input}"
|
| 22 |
|
| 23 |
response = completion(
|