Spaces:
Paused
Paused
ehristoforu
commited on
Commit
•
4924586
1
Parent(s):
1195994
Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,6 @@ DESCRIPTION = '''
|
|
12 |
</div>
|
13 |
'''
|
14 |
|
15 |
-
LICENSE = """
|
16 |
-
<p/>
|
17 |
-
|
18 |
-
---
|
19 |
-
Built with OpenChat 3.6
|
20 |
-
"""
|
21 |
|
22 |
PLACEHOLDER = """
|
23 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
@@ -104,7 +98,7 @@ def chat_openchat_36(message: str,
|
|
104 |
# Gradio block
|
105 |
chatbot=gr.Chatbot(height=450, placeholder=PLACEHOLDER, show_label=False, layout="panel", avatar_images=(None, "bot.png"), likeable=True, show_copy_button=True)
|
106 |
|
107 |
-
with gr.Blocks(fill_height=True, css=css) as demo:
|
108 |
|
109 |
gr.Markdown(DESCRIPTION)
|
110 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
@@ -137,7 +131,6 @@ with gr.Blocks(fill_height=True, css=css) as demo:
|
|
137 |
cache_examples=False,
|
138 |
)
|
139 |
|
140 |
-
gr.Markdown(LICENSE)
|
141 |
|
142 |
if __name__ == "__main__":
|
143 |
demo.launch()
|
|
|
12 |
</div>
|
13 |
'''
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
PLACEHOLDER = """
|
17 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
|
|
98 |
# Gradio block
|
99 |
chatbot=gr.Chatbot(height=450, placeholder=PLACEHOLDER, show_label=False, layout="panel", avatar_images=(None, "bot.png"), likeable=True, show_copy_button=True)
|
100 |
|
101 |
+
with gr.Blocks(fill_height=True, css=css, theme="theme-repo/STONE_Theme") as demo:
|
102 |
|
103 |
gr.Markdown(DESCRIPTION)
|
104 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
|
|
131 |
cache_examples=False,
|
132 |
)
|
133 |
|
|
|
134 |
|
135 |
if __name__ == "__main__":
|
136 |
demo.launch()
|