Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -379,10 +379,10 @@ with gr.Blocks(theme="CultriX/gradio-theme", css=css, delete_cache=(60, 60)) as
|
|
| 379 |
gr.Markdown("## Multi-Agent Task Solver with Human-in-the-Loop")
|
| 380 |
|
| 381 |
with gr.Row():
|
| 382 |
-
#
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
|
| 387 |
# Hidden state to store the plain-text log.
|
| 388 |
log_state = gr.State(value="")
|
|
@@ -403,5 +403,4 @@ with gr.Blocks(theme="CultriX/gradio-theme", css=css, delete_cache=(60, 60)) as
|
|
| 403 |
download_button.click(fn=download_log, inputs=log_state, outputs=download_file)
|
| 404 |
|
| 405 |
if __name__ == "__main__":
|
| 406 |
-
demo.launch(share=True)
|
| 407 |
-
|
|
|
|
| 379 |
gr.Markdown("## Multi-Agent Task Solver with Human-in-the-Loop")
|
| 380 |
|
| 381 |
with gr.Row():
|
| 382 |
+
with gr.Column(): # Add a column for better layout
|
| 383 |
+
chat_output = gr.Chatbot(label="Conversation", type="messages")
|
| 384 |
+
chat_output.wrap = gr.HTML("<div class='chat-container'></div>") # Wrap after creation
|
| 385 |
+
|
| 386 |
|
| 387 |
# Hidden state to store the plain-text log.
|
| 388 |
log_state = gr.State(value="")
|
|
|
|
| 403 |
download_button.click(fn=download_log, inputs=log_state, outputs=download_file)
|
| 404 |
|
| 405 |
if __name__ == "__main__":
|
| 406 |
+
demo.launch(share=True)
|
|
|