Spaces:
Sleeping
Sleeping
Update app.py
Browse files378 unmodified lines37938038138238338438538238338438538638738814 unmodified lines403404405406407406378 unmodified lines gr.Markdown("## Multi-Agent Task Solver with Human-in-the-Loop")
with gr.Row(): # Wrap the Chatbot in a div with the class "chat-container" with gr.Column(): # Add a column for better layout with gr.Box(elem_classes="chat-container"): # Use gr.Box for styling chat_output = gr.Chatbot(label="Conversation", type="messages") with gr.Column(): # Add a column for better layout chat_output = gr.Chatbot(label="Conversation", type="messages") chat_output.wrap = gr.HTML("<div class='chat-container'></div>") # Wrap after creation
# Hidden state to store the plain-text log. log_state = gr.State(value="")14 unmodified lines download_button.click(fn=download_log, inputs=log_state, outputs=download_file)
if __name__ == "__main__": demo.launch(share=True)
demo.launch(share=True)app.py+5-6