mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-01-12 13:27:38 +01:00
Fix API documentation formatting in chat mode
This commit is contained in:
parent
03ebfba0fb
commit
44e8c671f9
@ -658,7 +658,7 @@ if args.chat or args.cai_chat:
|
|||||||
print(f'Profile picture saved to "img_me.png"')
|
print(f'Profile picture saved to "img_me.png"')
|
||||||
|
|
||||||
suffix = '_pygmalion' if 'pygmalion' in model_name.lower() else ''
|
suffix = '_pygmalion' if 'pygmalion' in model_name.lower() else ''
|
||||||
with gr.Blocks(css=css+".h-\[40vh\] {height: 66.67vh} .gradio-container {max-width: 800px; margin-left: auto; margin-right: auto}", analytics_enabled=False) as interface:
|
with gr.Blocks(css=css+".h-\[40vh\] {height: 66.67vh} .gradio-container {max-width: 800px; margin-left: auto; margin-right: auto} .w-screen {width: unset}", analytics_enabled=False) as interface:
|
||||||
if args.cai_chat:
|
if args.cai_chat:
|
||||||
display = gr.HTML(value=generate_chat_html([], "", "", character))
|
display = gr.HTML(value=generate_chat_html([], "", "", character))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user