Reorganize chat UI elements
This commit is contained in:
parent
3687962e6c
commit
f4674d34a9
1 changed files with 9 additions and 5 deletions
14
server.py
14
server.py
|
@ -580,11 +580,15 @@ if args.chat or args.cai_chat:
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
check = gr.Checkbox(value=settings[f'stop_at_newline{suffix}'], label='Stop generating at new line character?')
|
check = gr.Checkbox(value=settings[f'stop_at_newline{suffix}'], label='Stop generating at new line character?')
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
with gr.Tab('Upload chat history'):
|
with gr.Tab('Chat history'):
|
||||||
upload = gr.File(type='binary')
|
with gr.Row():
|
||||||
with gr.Tab('Download chat history'):
|
with gr.Column():
|
||||||
download = gr.File()
|
gr.Markdown('Upload')
|
||||||
save_btn = gr.Button(value="Click me")
|
upload = gr.File(type='binary')
|
||||||
|
with gr.Column():
|
||||||
|
gr.Markdown('Download')
|
||||||
|
download = gr.File()
|
||||||
|
save_btn = gr.Button(value="Click me")
|
||||||
with gr.Tab('Upload character'):
|
with gr.Tab('Upload character'):
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
with gr.Column():
|
with gr.Column():
|
||||||
|
|
Loading…
Add table
Reference in a new issue