Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -130,22 +130,31 @@ demo = gr.Blocks()
|
|
130 |
with demo:
|
131 |
gr.HTML("""
|
132 |
<style>
|
133 |
-
/*
|
134 |
-
.
|
135 |
-
background-color: #F44336
|
136 |
-
color: white
|
137 |
-
border: none
|
138 |
-
padding: 10px 20px
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
font-size: 16px !important;
|
143 |
-
margin: 4px 2px !important;
|
144 |
-
cursor: pointer !important;
|
145 |
-
border-radius: 4px !important;
|
146 |
}
|
147 |
-
.
|
148 |
-
background-color: #B22222
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
}
|
150 |
</style>
|
151 |
""")
|
|
|
130 |
with demo:
|
131 |
gr.HTML("""
|
132 |
<style>
|
133 |
+
/* Target Gradio buttons specifically */
|
134 |
+
button.primary-button {
|
135 |
+
background-color: #F44336; /* Green */
|
136 |
+
color: white;
|
137 |
+
border: none;
|
138 |
+
padding: 10px 20px;
|
139 |
+
font-size: 16px;
|
140 |
+
cursor: pointer;
|
141 |
+
border-radius: 5px;
|
|
|
|
|
|
|
|
|
142 |
}
|
143 |
+
button.primary-button:hover {
|
144 |
+
background-color: #B22222; /* Darker green */
|
145 |
+
}
|
146 |
+
|
147 |
+
button.secondary-button {
|
148 |
+
background-color: #D3D3D3; /* Red */
|
149 |
+
color: white;
|
150 |
+
border: none;
|
151 |
+
padding: 10px 20px;
|
152 |
+
font-size: 16px;
|
153 |
+
cursor: pointer;
|
154 |
+
border-radius: 5px;
|
155 |
+
}
|
156 |
+
button.secondary-button:hover {
|
157 |
+
background-color: #808080; /* Darker red */
|
158 |
}
|
159 |
</style>
|
160 |
""")
|