Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with gr.Blocks(
|
|
107 |
with gr.Row():
|
108 |
with gr.Column(scale=5):
|
109 |
system_prompt = gr.Textbox(label="Системный промпт", placeholder="", value=SYSTEM_PROMPT, interactive=False)
|
110 |
-
chatbot = gr.Chatbot(label="Диалог")
|
111 |
with gr.Column(min_width=80, scale=1):
|
112 |
with gr.Tab(label="Параметры генерации"):
|
113 |
top_p = gr.Slider(
|
@@ -140,7 +140,7 @@ with gr.Blocks(
|
|
140 |
label="Отправить сообщение",
|
141 |
placeholder="Отправить сообщение",
|
142 |
show_label=False,
|
143 |
-
)
|
144 |
with gr.Column():
|
145 |
with gr.Row():
|
146 |
submit = gr.Button("Отправить")
|
|
|
107 |
with gr.Row():
|
108 |
with gr.Column(scale=5):
|
109 |
system_prompt = gr.Textbox(label="Системный промпт", placeholder="", value=SYSTEM_PROMPT, interactive=False)
|
110 |
+
chatbot = gr.Chatbot(label="Диалог")
|
111 |
with gr.Column(min_width=80, scale=1):
|
112 |
with gr.Tab(label="Параметры генерации"):
|
113 |
top_p = gr.Slider(
|
|
|
140 |
label="Отправить сообщение",
|
141 |
placeholder="Отправить сообщение",
|
142 |
show_label=False,
|
143 |
+
)
|
144 |
with gr.Column():
|
145 |
with gr.Row():
|
146 |
submit = gr.Button("Отправить")
|