MZhao commited on
Commit
5a7e86e
·
unverified ·
1 Parent(s): a6bcb2c

修复my_api_key无效

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
143
  chatbot = gr.Chatbot().style(color_map=("#1D51EE", "#585A5B"))
144
  context = gr.State([])
145
  systemPrompt = gr.State(update_system(initial_prompt))
146
- myKey = gr.State("sk-xxxxxxxxxxxxxxxxxxxxx")
147
  topic = gr.State("未命名对话历史记录")
148
 
149
  with gr.Row():
 
143
  chatbot = gr.Chatbot().style(color_map=("#1D51EE", "#585A5B"))
144
  context = gr.State([])
145
  systemPrompt = gr.State(update_system(initial_prompt))
146
+ myKey = gr.State(my_api_key)
147
  topic = gr.State("未命名对话历史记录")
148
 
149
  with gr.Row():