shape changes v2.0 (#8)
Browse files- shape changes v2.0 (580461106a13d7ca30dcbcc2778840587f774349)
Co-authored-by: Aksenov Andrei <[email protected]>
app.py
CHANGED
|
@@ -130,14 +130,31 @@ def chat_fn(message: str, ui_history: list, messages_state: List[Dict[str, str]]
|
|
| 130 |
with gr.Blocks(
|
| 131 |
theme=gr.themes.Soft(),
|
| 132 |
css="""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
#chatbot .gr-chatbot { font-size: 18px !important; line-height: 1.5; }
|
| 134 |
#chatbot .gr-chatbot_message { font-size: 18px !important; }
|
| 135 |
#chatbot .gr-chatbot_markdown > * { font-size: 18px !important; line-height: 1.6; }
|
| 136 |
|
| 137 |
#msg textarea { font-size: 24px !important; }
|
| 138 |
-
|
| 139 |
#clear { font-size: 16px !important; }
|
| 140 |
-
|
| 141 |
#title h2 { font-size: 28px !important; }
|
| 142 |
"""
|
| 143 |
) as demo:
|
|
|
|
| 130 |
with gr.Blocks(
|
| 131 |
theme=gr.themes.Soft(),
|
| 132 |
css="""
|
| 133 |
+
#chatbot .message.bot,
|
| 134 |
+
#chatbot .message.bot .markdown,
|
| 135 |
+
#chatbot .message.bot .prose,
|
| 136 |
+
#chatbot .message.bot p,
|
| 137 |
+
#chatbot .message.bot li,
|
| 138 |
+
#chatbot .message.bot pre,
|
| 139 |
+
#chatbot .message.bot code {
|
| 140 |
+
font-size: 22px !important;
|
| 141 |
+
line-height: 1.7 !important;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
#chatbot .gr-chatbot_message.gr-chatbot_message__bot,
|
| 145 |
+
#chatbot .gr-chatbot_message.gr-chatbot_message__bot .gr-chatbot_markdown > *,
|
| 146 |
+
#chatbot .gr-chatbot_message--assistant,
|
| 147 |
+
#chatbot .gr-chatbot_message--assistant .gr-chatbot_markdown > * {
|
| 148 |
+
font-size: 22px !important;
|
| 149 |
+
line-height: 1.7 !important;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
#chatbot .gr-chatbot { font-size: 18px !important; line-height: 1.5; }
|
| 153 |
#chatbot .gr-chatbot_message { font-size: 18px !important; }
|
| 154 |
#chatbot .gr-chatbot_markdown > * { font-size: 18px !important; line-height: 1.6; }
|
| 155 |
|
| 156 |
#msg textarea { font-size: 24px !important; }
|
|
|
|
| 157 |
#clear { font-size: 16px !important; }
|
|
|
|
| 158 |
#title h2 { font-size: 28px !important; }
|
| 159 |
"""
|
| 160 |
) as demo:
|