Spaces:
Runtime error
Runtime error
antonovmaxim
commited on
Commit
β’
c0e9287
1
Parent(s):
973eea2
Update server.py
Browse files
server.py
CHANGED
@@ -200,6 +200,9 @@ suffix = '_pygmalion' if 'pygmalion' in shared.model_name.lower() else ''
|
|
200 |
|
201 |
if shared.args.chat or shared.args.cai_chat:
|
202 |
with gr.Blocks(css=ui.css+ui.chat_css, analytics_enabled=False, title=title) as shared.gradio['interface']:
|
|
|
|
|
|
|
203 |
if shared.args.cai_chat:
|
204 |
shared.gradio['display'] = gr.HTML(value=generate_chat_html(shared.history['visible'], shared.settings[f'name1{suffix}'], shared.settings[f'name2{suffix}'], shared.character))
|
205 |
else:
|
|
|
200 |
|
201 |
if shared.args.chat or shared.args.cai_chat:
|
202 |
with gr.Blocks(css=ui.css+ui.chat_css, analytics_enabled=False, title=title) as shared.gradio['interface']:
|
203 |
+
gr.HTML('''<a href="https://github.com/oobabooga/text-generation-webui">Original github repo</a><br>
|
204 |
+
<p>For faster inference without waiting in queue, you may duplicate the space. <a href="https://huggingface.co/spaces/antonovmaxim/text-generation-webui-space?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>
|
205 |
+
(π Scroll down to see the interface π)''')
|
206 |
if shared.args.cai_chat:
|
207 |
shared.gradio['display'] = gr.HTML(value=generate_chat_html(shared.history['visible'], shared.settings[f'name1{suffix}'], shared.settings[f'name2{suffix}'], shared.character))
|
208 |
else:
|