Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -165,31 +165,34 @@ with gr.Blocks(css="""
|
|
| 165 |
}
|
| 166 |
.gr-chatbot { background-color: white; border-radius: 15px; padding: 20px; }
|
| 167 |
.custom-tabs .tab-nav {
|
| 168 |
-
background-color: white;
|
| 169 |
-
border-radius: 50px;
|
| 170 |
-
padding: 15px;
|
| 171 |
display: flex;
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
| 176 |
}
|
| 177 |
|
| 178 |
.custom-tabs button[role="tab"] {
|
| 179 |
border-radius: 50px !important;
|
| 180 |
-
padding:
|
| 181 |
font-weight: 500;
|
| 182 |
-
font-size: 16px;
|
| 183 |
-
color: #555 !important;
|
| 184 |
background-color: transparent;
|
| 185 |
-
border:
|
| 186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 187 |
}
|
| 188 |
|
| 189 |
.custom-tabs button[role="tab"][aria-selected="true"] {
|
| 190 |
background-color: #b3f0ff;
|
| 191 |
color: #222 !important;
|
| 192 |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
|
|
| 193 |
}
|
| 194 |
|
| 195 |
.custom-tabs button[role="tab"]:hover {
|
|
@@ -213,7 +216,7 @@ with gr.Blocks(css="""
|
|
| 213 |
|
| 214 |
.custom-tabs button[role="tab"]:nth-child(1)::before {
|
| 215 |
content: "";
|
| 216 |
-
background: url("https://cdn-
|
| 217 |
background-size: contain;
|
| 218 |
width: 20px;
|
| 219 |
height: 20px;
|
|
@@ -222,9 +225,11 @@ with gr.Blocks(css="""
|
|
| 222 |
vertical-align: middle;
|
| 223 |
}
|
| 224 |
|
|
|
|
|
|
|
| 225 |
.custom-tabs button[role="tab"]:nth-child(2)::before {
|
| 226 |
content: "";
|
| 227 |
-
background: url("https://cdn-
|
| 228 |
background-size: contain;
|
| 229 |
width: 20px;
|
| 230 |
height: 20px;
|
|
@@ -235,7 +240,7 @@ with gr.Blocks(css="""
|
|
| 235 |
|
| 236 |
.custom-tabs button[role="tab"]:nth-child(3)::before {
|
| 237 |
content: "";
|
| 238 |
-
background: url("https://cdn-
|
| 239 |
background-size: contain;
|
| 240 |
width: 20px;
|
| 241 |
height: 20px;
|
|
@@ -247,6 +252,7 @@ with gr.Blocks(css="""
|
|
| 247 |
|
| 248 |
|
| 249 |
|
|
|
|
| 250 |
""") as demo:
|
| 251 |
|
| 252 |
gr.Markdown("""
|
|
|
|
| 165 |
}
|
| 166 |
.gr-chatbot { background-color: white; border-radius: 15px; padding: 20px; }
|
| 167 |
.custom-tabs .tab-nav {
|
|
|
|
|
|
|
|
|
|
| 168 |
display: flex;
|
| 169 |
+
align-items: center;
|
| 170 |
+
width: 100%;
|
| 171 |
+
position: relative;
|
| 172 |
+
overflow: hidden;
|
| 173 |
+
background-color: white;
|
| 174 |
+
paddding: 8px;
|
| 175 |
+
border-radius: 30px;
|
| 176 |
}
|
| 177 |
|
| 178 |
.custom-tabs button[role="tab"] {
|
| 179 |
border-radius: 50px !important;
|
| 180 |
+
padding: 10 !important;
|
| 181 |
font-weight: 500;
|
|
|
|
|
|
|
| 182 |
background-color: transparent;
|
| 183 |
+
border:none;
|
| 184 |
+
justify-content: center;
|
| 185 |
+
width: 40%;
|
| 186 |
+
color: rgb(85, 85, 85) !important;
|
| 187 |
+
|
| 188 |
+
|
| 189 |
}
|
| 190 |
|
| 191 |
.custom-tabs button[role="tab"][aria-selected="true"] {
|
| 192 |
background-color: #b3f0ff;
|
| 193 |
color: #222 !important;
|
| 194 |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
| 195 |
+
transform: none !important;
|
| 196 |
}
|
| 197 |
|
| 198 |
.custom-tabs button[role="tab"]:hover {
|
|
|
|
| 216 |
|
| 217 |
.custom-tabs button[role="tab"]:nth-child(1)::before {
|
| 218 |
content: "";
|
| 219 |
+
background: url("https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/6gGwgTv14woJpgh1G59Ad.png") no-repeat center center;
|
| 220 |
background-size: contain;
|
| 221 |
width: 20px;
|
| 222 |
height: 20px;
|
|
|
|
| 225 |
vertical-align: middle;
|
| 226 |
}
|
| 227 |
|
| 228 |
+
|
| 229 |
+
|
| 230 |
.custom-tabs button[role="tab"]:nth-child(2)::before {
|
| 231 |
content: "";
|
| 232 |
+
background: url("https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/F0fJhrP6CtFFqhQWKb9dF.png") no-repeat center center;
|
| 233 |
background-size: contain;
|
| 234 |
width: 20px;
|
| 235 |
height: 20px;
|
|
|
|
| 240 |
|
| 241 |
.custom-tabs button[role="tab"]:nth-child(3)::before {
|
| 242 |
content: "";
|
| 243 |
+
background: url("https://cdn-uploads.huggingface.co/production/uploads/6841b10b397a67a7c7a39b89/tfjs2xtx5g61oqfcchHpd.png") no-repeat center center;
|
| 244 |
background-size: contain;
|
| 245 |
width: 20px;
|
| 246 |
height: 20px;
|
|
|
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
+
|
| 256 |
""") as demo:
|
| 257 |
|
| 258 |
gr.Markdown("""
|