From e69990e37b3fb236b970574a609b4a08786a0c65 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 26 Jan 2023 16:57:12 -0300 Subject: [PATCH] Change order of upload and download tabs in chat mode --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 66bd18b..0d1483d 100644 --- a/server.py +++ b/server.py @@ -512,11 +512,11 @@ if args.chat or args.cai_chat: with gr.Row(): check = gr.Checkbox(value=settings[f'stop_at_newline{suffix}'], label='Stop generating at new line character?') with gr.Row(): + with gr.Tab('Upload chat history'): + upload = gr.File(type='binary') with gr.Tab('Download chat history'): download = gr.File() save_btn = gr.Button(value="Click me") - with gr.Tab('Upload chat history'): - upload = gr.File(type='binary') with gr.Tab('Upload character'): upload_char = gr.File(type='binary')