Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
90 |
-
textbox=gr.Textbox(lines=10,placeholder="
|
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",
|