Spaces:
Build error
Build error
Update app.py
Browse files49 unmodified lines50515253545556575859606162636465666768697071727374757612 unmodified lines8990919293949512 unmodified lines10810911011149 unmodified linesbackground-color: #3e3e3e; /* Dark input field */color: white; /* Light text color */border: none;border-radius: 15px;padding: 8px 12px;}#message-input:focus {outline: none;}#send-button {background-color: #007BFF; /* Button background */color: white; /* Button text color */border: none; /* No border */border-radius: 50%; /* Round button */width: 36px;height: 36px;display: flex;align-items: center;justify-content: center;cursor: pointer; /* Pointer cursor */margin-left: 10px;}#send-button:hover {background-color: #0056b3; /* Hover state */}"""12 unmodified lines# Input field with button insidewith gr.Row(elem_id="input-container"):message = gr.Textbox(placeholder="Type a message...", elem_id="message-input", lines=1, show_label=False)send_btn = gr.Button("➤", elem_id="send-button") # Button inside the input box# Settings sectionwith gr.Accordion("⚙️ Settings", open=False):12 unmodified lines# Launch the interfaceif __name__ == "__main__":interface = create_interface()interface.launch()49 unmodified lines50515253545556575859606162636465666768697071727312 unmodified lines8687888990919212 unmodified lines10510610710849 unmodified linesbackground-color: #3e3e3e; /* Dark input field */color: white; /* Light text color */border: none;border-radius: 20px; /* Rounded corners for input */padding: 10px 15px;font-size: 14px;}#message-input:focus {outline: none;}#send-button {background-color: transparent; /* Transparent background */color: #007BFF; /* Button text color */border: none; /* No border */margin-left: -40px; /* Overlaps input box */cursor: pointer; /* Pointer cursor */font-size: 18px; /* Slightly larger icon */padding: 0; /* Remove padding */}#send-button:hover {color: #0056b3; /* Darker hover color */}"""12 unmodified lines# Input field with button insidewith gr.Row(elem_id="input-container"):message = gr.Textbox(placeholder="Type a message...", elem_id="message-input", lines=1, show_label=False)send_btn = gr.Button("➤", elem_id="send-button") # Button overlaps input box# Settings sectionwith gr.Accordion("⚙️ Settings", open=False):12 unmodified lines# Launch the interfaceif __name__ == "__main__":interface = create_interface()interface.launch()
app.py+13-16