Update app.py
Browse files
app.py
CHANGED
|
@@ -229,6 +229,16 @@ with gr.Blocks(css="""
|
|
| 229 |
}
|
| 230 |
#chatbox .message.user { background-color: #DCF8C6 !important; }
|
| 231 |
#chatbox .message.assistant { background-color: #ffffff !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
#chatbox .message {
|
| 233 |
font-size: 14px !important; /* ✅ 字体不要太大 */
|
| 234 |
line-height: 1.4em !important; /* ✅ 行距控制好 */
|
|
@@ -245,16 +255,6 @@ with gr.Blocks(css="""
|
|
| 245 |
max-width: 92% !important;
|
| 246 |
}
|
| 247 |
}
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
footer { display: none !important; }
|
| 251 |
-
.svelte-1ipelgc { display: none !important; }
|
| 252 |
-
.icon-button-wrapper {
|
| 253 |
-
display: none !important;
|
| 254 |
-
}
|
| 255 |
-
label.svelte-1to105q {
|
| 256 |
-
display: none !important;
|
| 257 |
-
}
|
| 258 |
""") as demo:
|
| 259 |
gr.HTML("""
|
| 260 |
<script>
|
|
|
|
| 229 |
}
|
| 230 |
#chatbox .message.user { background-color: #DCF8C6 !important; }
|
| 231 |
#chatbox .message.assistant { background-color: #ffffff !important; }
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
footer { display: none !important; }
|
| 235 |
+
.svelte-1ipelgc { display: none !important; }
|
| 236 |
+
.icon-button-wrapper {
|
| 237 |
+
display: none !important;
|
| 238 |
+
}
|
| 239 |
+
label.svelte-1to105q {
|
| 240 |
+
display: none !important;
|
| 241 |
+
}
|
| 242 |
#chatbox .message {
|
| 243 |
font-size: 14px !important; /* ✅ 字体不要太大 */
|
| 244 |
line-height: 1.4em !important; /* ✅ 行距控制好 */
|
|
|
|
| 255 |
max-width: 92% !important;
|
| 256 |
}
|
| 257 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
""") as demo:
|
| 259 |
gr.HTML("""
|
| 260 |
<script>
|