Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,19 +15,6 @@ PLACEHOLDER = """
|
|
15 |
</center>
|
16 |
"""
|
17 |
|
18 |
-
|
19 |
-
CSS = """
|
20 |
-
.duplicate-button {
|
21 |
-
margin: auto !important;
|
22 |
-
color: white !important;
|
23 |
-
background: black !important;
|
24 |
-
border-radius: 100vh !important;
|
25 |
-
}
|
26 |
-
h3 {
|
27 |
-
text-align: center;
|
28 |
-
}
|
29 |
-
"""
|
30 |
-
|
31 |
from huggingface_hub import snapshot_download
|
32 |
from pathlib import Path
|
33 |
|
@@ -88,7 +75,7 @@ def stream_chat(
|
|
88 |
|
89 |
chatbot = gr.Chatbot(height=600, placeholder=PLACEHOLDER)
|
90 |
|
91 |
-
with gr.Blocks(
|
92 |
gr.HTML(TITLE)
|
93 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
94 |
gr.ChatInterface(
|
|
|
15 |
</center>
|
16 |
"""
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
from huggingface_hub import snapshot_download
|
19 |
from pathlib import Path
|
20 |
|
|
|
75 |
|
76 |
chatbot = gr.Chatbot(height=600, placeholder=PLACEHOLDER)
|
77 |
|
78 |
+
with gr.Blocks(theme="citrus") as demo:
|
79 |
gr.HTML(TITLE)
|
80 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
81 |
gr.ChatInterface(
|