Update server.py
Browse files
server.py
CHANGED
@@ -200,8 +200,8 @@ 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 |
-
gr.HTML('''<a href="https://github.com/oobabooga/text-generation-webui">
|
204 |
-
<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))
|
|
|
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">Click for code!</a><br>
|
204 |
+
<p>Warning: this AI can generate X-rated content at random, especially under specific circumstances. Use carefully.
|
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))
|