Elfe commited on
Commit
ebff0e0
1 Parent(s): 8119a04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -33,6 +33,8 @@ iface = gr.Interface(fn=chat,
33
  inputs=["text", "text", "text"],
34
  outputs=["text", "text"],
35
  description="""这是一个极其简单的示范程序,用唐三藏的语气来和你对话。
 
 
36
  [对话测试](https://huggingface.co/spaces/BaixingAI/hackathon_test) [参考文档](https://huggingface.co/spaces/baixing/hackathon_test/blob/main/bot-api.md) [Q & A](https://huggingface.co/spaces/baixing/hackathon_test/blob/main/qna.md)
37
  """)
38
  iface.launch()
 
33
  inputs=["text", "text", "text"],
34
  outputs=["text", "text"],
35
  description="""这是一个极其简单的示范程序,用唐三藏的语气来和你对话。
36
+
37
+ 注意:duplicate 本项目后,需要将你自己的 openai apikey 设置到 settings 的 Repository Secrets 里,否则运行会报错。[了解详情](https://huggingface.co/spaces/baixing/hackathon_chatbot_openai_api/blob/main/%E6%B7%BB%E5%8A%A0%20secret%20%E7%9A%84%E6%96%B9%E6%B3%95.jpg)
38
  [对话测试](https://huggingface.co/spaces/BaixingAI/hackathon_test) [参考文档](https://huggingface.co/spaces/baixing/hackathon_test/blob/main/bot-api.md) [Q & A](https://huggingface.co/spaces/baixing/hackathon_test/blob/main/qna.md)
39
  """)
40
  iface.launch()