style: remove newchat button
Browse files
app.py
CHANGED
|
@@ -99,17 +99,19 @@ body, .markdown-content, .container, .chat-container, .message-container {
|
|
| 99 |
.markdown-content {
|
| 100 |
font-size: 18px;
|
| 101 |
line-height: 1.7;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
-
"""
|
| 104 |
-
#theme = gr.themes.Origin()
|
| 105 |
-
theme = gr.themes.Soft()
|
| 106 |
-
#theme = gr.themes.Monochrome()
|
| 107 |
-
#theme = gr.themes.Glass()
|
| 108 |
-
#theme = gr.themes.GoogleFont(name="Inter")
|
| 109 |
-
#theme = gr.themes.Base()
|
| 110 |
|
|
|
|
| 111 |
|
| 112 |
-
with gr.Blocks(css=custom_css, theme=
|
| 113 |
with gr.Row(elem_classes="container"):
|
| 114 |
# with gr.Column(scale=0.5):
|
| 115 |
# gr.Image(value=LOGO_PATH, height=100, show_label=False, show_download_button=False, show_fullscreen_button=False)
|
|
|
|
| 99 |
.markdown-content {
|
| 100 |
font-size: 18px;
|
| 101 |
line-height: 1.7;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
button.svelte-lixn6qd {
|
| 105 |
+
display: none !important;
|
| 106 |
+
}
|
| 107 |
+
#component-16 {
|
| 108 |
+
display: none !important;
|
| 109 |
}
|
| 110 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
+
xtheme = gr.themes.Soft()
|
| 113 |
|
| 114 |
+
with gr.Blocks(css=custom_css, theme=xtheme) as demo:
|
| 115 |
with gr.Row(elem_classes="container"):
|
| 116 |
# with gr.Column(scale=0.5):
|
| 117 |
# gr.Image(value=LOGO_PATH, height=100, show_label=False, show_download_button=False, show_fullscreen_button=False)
|