Spaces:
Sleeping
Sleeping
Update webui.py
Browse files
webui.py
CHANGED
@@ -111,7 +111,7 @@ def generate_text(message, history, system_prompt, preset, temperature, max_toke
|
|
111 |
|
112 |
|
113 |
|
114 |
-
chatbot = gr.Chatbot(show_label=False,
|
115 |
|
116 |
with gr.Blocks(theme="theme-repo/STONE_Theme", title="TensorLM", css="style.css") as demo:
|
117 |
with gr.Row():
|
@@ -139,7 +139,8 @@ with gr.Blocks(theme="theme-repo/STONE_Theme", title="TensorLM", css="style.css"
|
|
139 |
submit_btn="📨",
|
140 |
undo_btn="↩️",
|
141 |
clear_btn="🗑️",
|
142 |
-
additional_inputs=[system_prompt, preset, temperature, max_tokens, top_k, top_k, repeat_penalty]
|
|
|
143 |
)
|
144 |
|
145 |
|
|
|
111 |
|
112 |
|
113 |
|
114 |
+
chatbot = gr.Chatbot(show_label=False, layout="panel", show_copy_button=True, height=500, min_width=180)
|
115 |
|
116 |
with gr.Blocks(theme="theme-repo/STONE_Theme", title="TensorLM", css="style.css") as demo:
|
117 |
with gr.Row():
|
|
|
139 |
submit_btn="📨",
|
140 |
undo_btn="↩️",
|
141 |
clear_btn="🗑️",
|
142 |
+
additional_inputs=[system_prompt, preset, temperature, max_tokens, top_k, top_k, repeat_penalty],
|
143 |
+
autofocus=False,
|
144 |
)
|
145 |
|
146 |
|