Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -77,26 +77,26 @@ with gr.Blocks(css="""
|
|
77 |
* {
|
78 |
color: white !important;
|
79 |
}
|
80 |
-
h1 {
|
|
|
81 |
text-align: center !important;
|
82 |
-
color: #00ccff !important;
|
83 |
-
margin: auto !important;
|
84 |
}
|
85 |
-
.gr-chatbot-message, .gr-textbox, textarea, input[type='text'],
|
86 |
-
|
87 |
-
background-color: #
|
88 |
color: white !important;
|
89 |
border-radius: 6px;
|
|
|
90 |
}
|
91 |
-
.gr-button {
|
92 |
-
background-color: #
|
93 |
-
color: white !important;
|
94 |
}
|
95 |
.gr-dropdown {
|
96 |
max-height: 150px;
|
97 |
overflow-y: auto;
|
98 |
}
|
99 |
""") as demo:
|
|
|
100 |
|
101 |
state = gr.State([])
|
102 |
|
|
|
77 |
* {
|
78 |
color: white !important;
|
79 |
}
|
80 |
+
h1, h2, h3, label, .gr-label, .gr-markdown {
|
81 |
+
color: white !important;
|
82 |
text-align: center !important;
|
|
|
|
|
83 |
}
|
84 |
+
.gr-chatbot-message, .gr-textbox, textarea, input[type='text'], input, select,
|
85 |
+
.gr-dropdown, .gr-markdown, .gr-label, .gr-button, .gr-row, .gr-column {
|
86 |
+
background-color: #111 !important;
|
87 |
color: white !important;
|
88 |
border-radius: 6px;
|
89 |
+
border: 1px solid #444 !important;
|
90 |
}
|
91 |
+
.gr-button:hover {
|
92 |
+
background-color: #333 !important;
|
|
|
93 |
}
|
94 |
.gr-dropdown {
|
95 |
max-height: 150px;
|
96 |
overflow-y: auto;
|
97 |
}
|
98 |
""") as demo:
|
99 |
+
# ... same interface elements and event bindings as before ...
|
100 |
|
101 |
state = gr.State([])
|
102 |
|