Spaces:
Sleeping
Sleeping
Update app.py
Browse files378 unmodified lines37938038138238338438538638738814 unmodified lines403404405406407378 unmodified linesgr.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 layoutwith gr.Box(elem_classes="chat-container"): # Use gr.Box for stylingchat_output = gr.Chatbot(label="Conversation", type="messages")# Hidden state to store the plain-text log.log_state = gr.State(value="")14 unmodified linesdownload_button.click(fn=download_log, inputs=log_state, outputs=download_file)if __name__ == "__main__":demo.launch(share=True)378 unmodified lines37938038138238338438538638738814 unmodified lines403404405406378 unmodified linesgr.Markdown("## Multi-Agent Task Solver with Human-in-the-Loop")with gr.Row():with gr.Column(): # Add a column for better layoutchat_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 linesdownload_button.click(fn=download_log, inputs=log_state, outputs=download_file)if __name__ == "__main__":demo.launch(share=True)
app.py+5-6