Update app.py
Browse files29 unmodified lines30313233343536374 unmodified lines424344454647484929 unmodified lines# Define the chat interfacewith gr.Row():# Settings button (Small square icon)settings_button = gr.Button("⚙️", elem_id="settings_button", scale=0.1)settings_button.style(height=30, width=30, rounded=False, container=False) # Small square button# Chatbot componentchatbot_component = gr.Chatbot(type="messages", label="Chat History", height=500)4 unmodified linesuser_input = gr.Textbox(placeholder="Type your message here...", label="Your Input", lines=1)# Send icon button (small send icon)with gr.Column(scale=0.1):send_button = gr.Button("📤", elem_id="send_button", scale=0.1)send_button.style(height=30, width=30, rounded=True) # Make the send button small and rounded# Define settings menu, initially hiddenwith gr.Accordion("Settings", open=False) as settings:29 unmodified lines30313233343536374 unmodified lines424344454647484929 unmodified lines# Define the chat interfacewith gr.Row():# Settings button (Small square icon)settings_button = gr.Button("⚙️", elem_id="settings_button", scale=1)settings_button.style(container=False) # Remove extra container for small button styling# Chatbot componentchatbot_component = gr.Chatbot(type="messages", label="Chat History", height=500)4 unmodified linesuser_input = gr.Textbox(placeholder="Type your message here...", label="Your Input", lines=1)# Send icon button (small send icon)with gr.Column(scale=0.1):send_button = gr.Button("📤", elem_id="send_button", scale=1)send_button.style(container=False) # Remove extra container for small button styling# Define settings menu, initially hiddenwith gr.Accordion("Settings", open=False) as settings:
app.py+4-4