Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -387,18 +387,14 @@ with gr.Blocks(title="MAKER Agent") as demo:
|
|
| 387 |
with gr.Tab("💬 Chat"):
|
| 388 |
|
| 389 |
chatbot = gr.Chatbot(
|
| 390 |
-
label="Chat",
|
| 391 |
height=450,
|
| 392 |
-
show_label=False,
|
| 393 |
-
bubble_full_width=False,
|
| 394 |
)
|
| 395 |
|
| 396 |
with gr.Row():
|
| 397 |
with gr.Column(scale=12):
|
| 398 |
msg = gr.Textbox(
|
| 399 |
-
placeholder="Ask anything...
|
| 400 |
show_label=False,
|
| 401 |
-
container=False,
|
| 402 |
lines=2,
|
| 403 |
)
|
| 404 |
|
|
@@ -425,7 +421,7 @@ with gr.Blocks(title="MAKER Agent") as demo:
|
|
| 425 |
)
|
| 426 |
|
| 427 |
with gr.Column(scale=1):
|
| 428 |
-
clear_btn = gr.Button("🗑️ Clear"
|
| 429 |
|
| 430 |
# Event handlers
|
| 431 |
file_upload.change(process_files, file_upload, file_status)
|
|
|
|
| 387 |
with gr.Tab("💬 Chat"):
|
| 388 |
|
| 389 |
chatbot = gr.Chatbot(
|
|
|
|
| 390 |
height=450,
|
|
|
|
|
|
|
| 391 |
)
|
| 392 |
|
| 393 |
with gr.Row():
|
| 394 |
with gr.Column(scale=12):
|
| 395 |
msg = gr.Textbox(
|
| 396 |
+
placeholder="Ask anything...",
|
| 397 |
show_label=False,
|
|
|
|
| 398 |
lines=2,
|
| 399 |
)
|
| 400 |
|
|
|
|
| 421 |
)
|
| 422 |
|
| 423 |
with gr.Column(scale=1):
|
| 424 |
+
clear_btn = gr.Button("🗑️ Clear")
|
| 425 |
|
| 426 |
# Event handlers
|
| 427 |
file_upload.change(process_files, file_upload, file_status)
|