Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=css, delete_ca
|
|
22 |
state = gr.State(value={})
|
23 |
with gr.Group():
|
24 |
chatbot = gr.Chatbot(show_copy_button=True, show_share_button=False, layout="bubble", container=True)
|
25 |
-
with gr.Row():
|
26 |
chat_msg = gr.Textbox(show_label=False, placeholder="Input text in English, Japanese, or any other languages and press Enter or click Send.", scale=4)
|
27 |
chat_submit = gr.Button("Send", scale=1, variant="primary")
|
28 |
chat_clear = gr.Button("Clear", scale=1, variant="secondary")
|
@@ -87,7 +87,7 @@ with gr.Blocks(theme='NoCrypt/miku@>=1.2.2', fill_width=True, css=css, delete_ca
|
|
87 |
#title="Chat with lots of Models and LLMs using llama.cpp",
|
88 |
#retry_btn="Retry",
|
89 |
#undo_btn="Undo",
|
90 |
-
|
91 |
submit_btn="Send",
|
92 |
#additional_inputs_accordion='gr.Accordion(label="Additional Inputs", open=False)',
|
93 |
additional_inputs=[pg_chat_model, pg_chat_sysmsg, pg_chat_tokens, pg_chat_temperature, pg_chat_topp, pg_chat_topk, pg_chat_rp, state],
|
|
|
22 |
state = gr.State(value={})
|
23 |
with gr.Group():
|
24 |
chatbot = gr.Chatbot(show_copy_button=True, show_share_button=False, layout="bubble", container=True)
|
25 |
+
with gr.Row(equal_height=True):
|
26 |
chat_msg = gr.Textbox(show_label=False, placeholder="Input text in English, Japanese, or any other languages and press Enter or click Send.", scale=4)
|
27 |
chat_submit = gr.Button("Send", scale=1, variant="primary")
|
28 |
chat_clear = gr.Button("Clear", scale=1, variant="secondary")
|
|
|
87 |
#title="Chat with lots of Models and LLMs using llama.cpp",
|
88 |
#retry_btn="Retry",
|
89 |
#undo_btn="Undo",
|
90 |
+
clear_btn="Clear",
|
91 |
submit_btn="Send",
|
92 |
#additional_inputs_accordion='gr.Accordion(label="Additional Inputs", open=False)',
|
93 |
additional_inputs=[pg_chat_model, pg_chat_sysmsg, pg_chat_tokens, pg_chat_temperature, pg_chat_topp, pg_chat_topk, pg_chat_rp, state],
|