Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def chatbot_response(user_input, model_name):
|
|
52 |
|
53 |
return response
|
54 |
|
55 |
-
with gr.Blocks(theme=gr.themes.Soft(), css=".container { max-width: 900px; }") as demo:
|
56 |
with gr.Row():
|
57 |
with gr.Column(scale=1):
|
58 |
gr.Markdown("## 鈿欙笍 Configura莽玫es")
|
@@ -64,7 +64,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".container { max-width: 900px; }") a
|
|
64 |
with gr.Column(scale=4):
|
65 |
gr.Markdown("# 馃 Chatbot - API SambaNova")
|
66 |
chatbot = gr.Chatbot(height=500)
|
67 |
-
msg = gr.Textbox(placeholder="Digite sua mensagem aqui...", show_label=False)
|
68 |
with gr.Row():
|
69 |
btn = gr.Button("Enviar", variant="primary")
|
70 |
history_btn = gr.Button("Hist贸rico", variant="secondary")
|
|
|
52 |
|
53 |
return response
|
54 |
|
55 |
+
with gr.Blocks(theme=gr.themes.Soft(), css=".container { max-width: 900px; margin: auto; } .full-width { width: 100% !important; }") as demo:
|
56 |
with gr.Row():
|
57 |
with gr.Column(scale=1):
|
58 |
gr.Markdown("## 鈿欙笍 Configura莽玫es")
|
|
|
64 |
with gr.Column(scale=4):
|
65 |
gr.Markdown("# 馃 Chatbot - API SambaNova")
|
66 |
chatbot = gr.Chatbot(height=500)
|
67 |
+
msg = gr.Textbox(placeholder="Digite sua mensagem aqui...", show_label=False, elem_classes=["full-width"])
|
68 |
with gr.Row():
|
69 |
btn = gr.Button("Enviar", variant="primary")
|
70 |
history_btn = gr.Button("Hist贸rico", variant="secondary")
|