Tuchuanhuhuhu commited on
Commit
1abaf77
·
1 Parent(s): b835dfd

fix 在本地部署的时候,修改对话名称的时候会报错 #991

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py CHANGED
@@ -673,7 +673,7 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
673
  # S&L
674
  renameHistoryBtn.click(
675
  rename_chat_history,
676
- [current_model, saveFileName, chatbot, user_name],
677
  [historySelectList],
678
  show_progress=True,
679
  _js='(a,b,c,d)=>{return saveChatHistory(a,b,c,d);}'
 
673
  # S&L
674
  renameHistoryBtn.click(
675
  rename_chat_history,
676
+ [current_model, saveFileName, chatbot],
677
  [historySelectList],
678
  show_progress=True,
679
  _js='(a,b,c,d)=>{return saveChatHistory(a,b,c,d);}'