Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,7 @@ demo = gr.ChatInterface(
|
|
| 58 |
respond,
|
| 59 |
additional_inputs=[
|
| 60 |
gr.Textbox(value=f"""Translate the user input from English to Hebrew.
|
|
|
|
| 61 |
If the english text contains multiple consecutive special characters, replace them with a
|
| 62 |
corresponding single special character for translation. Once the text is translated, restore the original group of special
|
| 63 |
characters in their corresponding place.
|
|
|
|
| 58 |
respond,
|
| 59 |
additional_inputs=[
|
| 60 |
gr.Textbox(value=f"""Translate the user input from English to Hebrew.
|
| 61 |
+
Do NOT respond with any additional information other than the translation. Respond with the translated text ONLY.
|
| 62 |
If the english text contains multiple consecutive special characters, replace them with a
|
| 63 |
corresponding single special character for translation. Once the text is translated, restore the original group of special
|
| 64 |
characters in their corresponding place.
|