Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
# -*- coding: utf-8 -*-
|
| 3 |
"""
|
| 4 |
🪶 Council Matters Classifier – PT
|
| 5 |
-
Dark modern Gradio interface with compact
|
| 6 |
"""
|
| 7 |
|
| 8 |
import gradio as gr
|
|
@@ -192,8 +192,8 @@ button:hover { background-color: #00aaff !important; }
|
|
| 192 |
position: relative;
|
| 193 |
}
|
| 194 |
.arrow-btn {
|
| 195 |
-
width: 25px;
|
| 196 |
-
height: 25px;
|
| 197 |
font-size: 12px;
|
| 198 |
padding: 0;
|
| 199 |
background: none;
|
|
@@ -205,9 +205,9 @@ button:hover { background-color: #00aaff !important; }
|
|
| 205 |
.arrow-btn:hover { color: #ffffff; transform: scale(1.3); }
|
| 206 |
.use-btn { background-color:#66b3ff !important; color:#000 !important; font-weight:600 !important; border-radius:6px !important; padding:3px 8px !important; margin-left:5px;}
|
| 207 |
.use-btn:hover { background-color:#99ccff !important; }
|
| 208 |
-
.suggestion-box .prev-btn { position: absolute;
|
| 209 |
-
.suggestion-box .next-btn { position: absolute;
|
| 210 |
-
.suggestion-box .suggestion-text { width: 100%; text-align: center;
|
| 211 |
"""
|
| 212 |
|
| 213 |
# ---------------- Gradio UI ----------------
|
|
|
|
| 2 |
# -*- coding: utf-8 -*-
|
| 3 |
"""
|
| 4 |
🪶 Council Matters Classifier – PT
|
| 5 |
+
Dark modern Gradio interface with compact arrow buttons on top of suggestion box.
|
| 6 |
"""
|
| 7 |
|
| 8 |
import gradio as gr
|
|
|
|
| 192 |
position: relative;
|
| 193 |
}
|
| 194 |
.arrow-btn {
|
| 195 |
+
width: 25px;
|
| 196 |
+
height: 25px;
|
| 197 |
font-size: 12px;
|
| 198 |
padding: 0;
|
| 199 |
background: none;
|
|
|
|
| 205 |
.arrow-btn:hover { color: #ffffff; transform: scale(1.3); }
|
| 206 |
.use-btn { background-color:#66b3ff !important; color:#000 !important; font-weight:600 !important; border-radius:6px !important; padding:3px 8px !important; margin-left:5px;}
|
| 207 |
.use-btn:hover { background-color:#99ccff !important; }
|
| 208 |
+
.suggestion-box .prev-btn { position: absolute; top: 5px; left: 5px; }
|
| 209 |
+
.suggestion-box .next-btn { position: absolute; top: 5px; right: 5px; }
|
| 210 |
+
.suggestion-box .suggestion-text { width: 100%; text-align: center; border:none; background:none; color:#eee; font-weight:500; padding-top:8px; }
|
| 211 |
"""
|
| 212 |
|
| 213 |
# ---------------- Gradio UI ----------------
|