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;
|
56 |
with gr.Row():
|
57 |
with gr.Column(scale=1):
|
58 |
gr.Markdown("## ⚙️ Configurações")
|
@@ -63,7 +63,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".container { max-width: 900px; margi
|
|
63 |
)
|
64 |
with gr.Column(scale=4):
|
65 |
gr.Markdown("# 🤖 Chatbot - API SambaNova")
|
66 |
-
chatbot = gr.Chatbot(height=
|
67 |
msg = gr.Textbox(placeholder="Digite sua mensagem aqui...", show_label=False)
|
68 |
with gr.Row():
|
69 |
btn = gr.Button("Enviar", variant="primary")
|
|
|
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")
|
|
|
63 |
)
|
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")
|