aixsatoshi commited on
Commit
5b65249
·
verified ·
1 Parent(s): 1329588

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -85,9 +85,9 @@ def predict(message, history, tokens, temperature, language):
85
  demo = gr.ChatInterface(
86
  fn=predict,
87
  title="Honyaku-13b webui",
88
- description="Translate using Honyaku-13b model",
89
- chatbot=gr.Chatbot(height=700),
90
- textbox=gr.Textbox(lines=10,placeholder="Ask me a yes or no question", container=False, scale=7),
91
  theme="soft",
92
  retry_btn=None,
93
  undo_btn="Delete Previous",
 
85
  demo = gr.ChatInterface(
86
  fn=predict,
87
  title="Honyaku-13b webui",
88
+ description="Translate using Honyaku-13b model.Please enter the English text you want to translate. We will translate entire paragraphs of around 500 tokens. By looking at the whole text, we adapt the translation style according to the context. We do not support short sentences.",
89
+ chatbot=gr.Chatbot(height=512),
90
+ textbox=gr.Textbox(lines=10,placeholder="Please enter the English text you want to translate. We will translate entire paragraphs of around 500 tokens. By looking at the whole text, we adapt the translation style according to the context. We do not support short sentences.", container=False, scale=7),
91
  theme="soft",
92
  retry_btn=None,
93
  undo_btn="Delete Previous",