Update app.py
Browse files12 unmodified lines131415161718191 unmodified line21222324252614 unmodified lines41424344454623 unmodified lines7071727312 unmodified linesgr.Markdown("# Chatbot Interface")# Chat displaychatbot_component = gr.Chatbot(type="messages", label="Chat History", height=500)# Input box with integrated send buttonwith gr.Row(elem_id="input_container"):1 unmodified lineplaceholder="Type your message here...",label=None,elem_id="user_input",)# Custom CSS to style the input with the integrated button14 unmodified linespadding-right: 50px; /* Space for the send button */padding-left: 10px;box-sizing: border-box;}#user_input::after {content: 'Send';23 unmodified linesdemo.launch()# Launch the interfacecreate_chat_interface()12 unmodified lines131415161718191 unmodified line2122232425262714 unmodified lines4243444546474823 unmodified lines7273747512 unmodified linesgr.Markdown("# Chatbot Interface")# Chat displaychatbot_component = gr.Chatbot(type="messages", label="Chat History", height=400) # Reduced height# Input box with integrated send buttonwith gr.Row(elem_id="input_container"):1 unmodified lineplaceholder="Type your message here...",label=None,elem_id="user_input",visible=False # Make the input box invisible)# Custom CSS to style the input with the integrated button14 unmodified linespadding-right: 50px; /* Space for the send button */padding-left: 10px;box-sizing: border-box;visibility: hidden; /* Hide the input box */}#user_input::after {content: 'Send';23 unmodified linesdemo.launch()# Launch the interfacecreate_chat_interface()
app.py+4-2