Spaces:
Running
Running
Upload 21 files
Browse files- web/__pycache__/views.cpython-310.pyc +0 -0
- web/views.py +1 -0
web/__pycache__/views.cpython-310.pyc
CHANGED
|
Binary files a/web/__pycache__/views.cpython-310.pyc and b/web/__pycache__/views.cpython-310.pyc differ
|
|
|
web/views.py
CHANGED
|
@@ -498,6 +498,7 @@ def ai_action(request, chat_id):
|
|
| 498 |
f"You will receive exactly {word_count} numbered {chat.language} words/lemmas. "
|
| 499 |
f"Translate each one into English. "
|
| 500 |
f"Reply with exactly {word_count} numbered lines in the format: '1. translation'. "
|
|
|
|
| 501 |
f"Do NOT add any extra text, commentary, or blank lines."
|
| 502 |
)
|
| 503 |
try:
|
|
|
|
| 498 |
f"You will receive exactly {word_count} numbered {chat.language} words/lemmas. "
|
| 499 |
f"Translate each one into English. "
|
| 500 |
f"Reply with exactly {word_count} numbered lines in the format: '1. translation'. "
|
| 501 |
+
f"If you do not know the translation for a word, write '?' as the placeholder — do NOT skip that line. "
|
| 502 |
f"Do NOT add any extra text, commentary, or blank lines."
|
| 503 |
)
|
| 504 |
try:
|