OedoSoldier commited on
Commit
2a787f8
1 Parent(s): 2408ec5
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -166,9 +166,9 @@ with gr.Blocks() as demo:
166
 
167
  delete = gr.Button('Reset chat')
168
 
169
- with gr.Row():
170
- save = gr.Button('保存对话(在 `log` 文件夹下)', visible=False)
171
- load = gr.UploadButton('读取对话', file_types=['file'], file_count='single', visible=False)
172
 
173
  input_list = [message, chatbot, state, max_length, top_p, temperature, memory_limit]
174
  output_list = [chatbot, state, message]
 
166
 
167
  delete = gr.Button('Reset chat')
168
 
169
+ with gr.Row(visible=False):
170
+ save = gr.Button('保存对话(在 `log` 文件夹下)')
171
+ load = gr.UploadButton('读取对话', file_types=['file'], file_count='single')
172
 
173
  input_list = [message, chatbot, state, max_length, top_p, temperature, memory_limit]
174
  output_list = [chatbot, state, message]