prsingh1982 commited on
Commit
453590f
·
verified ·
1 Parent(s): 7ec78c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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.