Skip to content

Commit

Permalink
fix 在本地部署的时候,修改对话名称的时候会报错 #991
Browse files Browse the repository at this point in the history
  • Loading branch information
GaiZhenbiao committed Dec 18, 2023
1 parent b835dfd commit 1abaf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChuanhuChatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def create_greeting(request: gr.Request):
# S&L
renameHistoryBtn.click(
rename_chat_history,
[current_model, saveFileName, chatbot, user_name],
[current_model, saveFileName, chatbot],
[historySelectList],
show_progress=True,
_js='(a,b,c,d)=>{return saveChatHistory(a,b,c,d);}'
Expand Down

0 comments on commit 1abaf77

Please sign in to comment.