xiaolv commited on
Commit
76adc9d
1 Parent(s): f7dbd93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -279,8 +279,8 @@ with gr.Blocks() as dialog_app:
279
  with gr.Column(scale=0.4):
280
  cookies = gr.Textbox(lines=2, label="输入cookies")
281
  user_id = gr.Textbox(lines=2, label="输入user_id/organization_uuid")
282
- file = gr.File(label='请上传知识库文件, 目前支持txt、csv、pdf格式',file_types=['.txt', '.csv', '.pdf'])
283
- delst = gr.Checkbox(label="是", info="在该对话回复后,是否要删除该对话?",value = True)
284
  # channel_id = gr.Textbox(lines=2, label="输入channel_id/conversation_uuid")
285
  # chatbot = gr.Chatbot()
286
  with gr.Column(scale=0.6):
 
279
  with gr.Column(scale=0.4):
280
  cookies = gr.Textbox(lines=2, label="输入cookies")
281
  user_id = gr.Textbox(lines=2, label="输入user_id/organization_uuid")
282
+ file = gr.File(label='请上传知识库文件, 目前支持txt、csv、pdf格式,不超过10M,可传可不传',file_types=['.txt', '.csv', '.pdf'])
283
+ delst = gr.Checkbox(label="是", info="在该对话回复后,是否要删除该对话?(默认会删除)",value = True)
284
  # channel_id = gr.Textbox(lines=2, label="输入channel_id/conversation_uuid")
285
  # chatbot = gr.Chatbot()
286
  with gr.Column(scale=0.6):