Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,16 +58,18 @@ dark_css = """
|
|
58 |
outline: none;
|
59 |
}
|
60 |
#send-button {
|
61 |
-
background-color:
|
62 |
-
color:
|
63 |
-
border: none;
|
64 |
-
|
65 |
-
|
66 |
-
font-size:
|
67 |
-
|
|
|
|
|
68 |
}
|
69 |
#send-button:hover {
|
70 |
-
color: #0056b3;
|
71 |
}
|
72 |
"""
|
73 |
|
@@ -86,7 +88,7 @@ def create_interface():
|
|
86 |
# Input field with button inside
|
87 |
with gr.Row(elem_id="input-container"):
|
88 |
message = gr.Textbox(placeholder="Type a message...", elem_id="message-input", lines=1, show_label=False)
|
89 |
-
send_btn = gr.Button("
|
90 |
|
91 |
# Settings section
|
92 |
with gr.Accordion("⚙️ Settings", open=False):
|
|
|
58 |
outline: none;
|
59 |
}
|
60 |
#send-button {
|
61 |
+
background-color: #007BFF; /* Button background color */
|
62 |
+
color: white; /* Button text color */
|
63 |
+
border: none; /* No border */
|
64 |
+
border-radius: 20px; /* Rounded corners */
|
65 |
+
padding: 10px 20px; /* Padding for the button */
|
66 |
+
font-size: 14px; /* Font size for the button text */
|
67 |
+
margin-left: 10px; /* Space between input and button */
|
68 |
+
cursor: pointer; /* Pointer cursor */
|
69 |
+
transition: background-color 0.3s ease; /* Smooth hover transition */
|
70 |
}
|
71 |
#send-button:hover {
|
72 |
+
background-color: #0056b3; /* Darker hover color */
|
73 |
}
|
74 |
"""
|
75 |
|
|
|
88 |
# Input field with button inside
|
89 |
with gr.Row(elem_id="input-container"):
|
90 |
message = gr.Textbox(placeholder="Type a message...", elem_id="message-input", lines=1, show_label=False)
|
91 |
+
send_btn = gr.Button("Send", elem_id="send-button")
|
92 |
|
93 |
# Settings section
|
94 |
with gr.Accordion("⚙️ Settings", open=False):
|