Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,9 +32,5 @@ def callapi(p):
|
|
32 |
iface = gr.Interface(fn=chat,
|
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()
|
|
|
32 |
iface = gr.Interface(fn=chat,
|
33 |
inputs=["text", "text", "text"],
|
34 |
outputs=["text", "text"],
|
35 |
+
description="""这是一个极其简单的示范程序,用唐三藏的语气来和你对话。""")
|
|
|
|
|
|
|
|
|
36 |
iface.launch()
|