Spaces:
Runtime error
Runtime error
JohnSmith9982
commited on
Commit
•
b28c9ba
1
Parent(s):
b4b4546
Update app.py
Browse files
app.py
CHANGED
@@ -237,8 +237,7 @@ description = """<div align=center>
|
|
237 |
"""
|
238 |
with gr.Blocks() as demo:
|
239 |
gr.HTML(title)
|
240 |
-
gr.HTML('''
|
241 |
-
gr.HTML('''<center><a href="https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="复制 Space"></a>复制这个 Space,使用你自己的 OpenAI API Key</center>''')
|
242 |
keyTxt = gr.Textbox(show_label=True, placeholder=f"在这里输入你的OpenAI API-key...",
|
243 |
value=my_api_key, label="API Key", type="password", visible=not HIDE_MY_KEY).style(container=True)
|
244 |
chatbot = gr.Chatbot() # .style(color_map=("#1D51EE", "#585A5B"))
|
|
|
237 |
"""
|
238 |
with gr.Blocks() as demo:
|
239 |
gr.HTML(title)
|
240 |
+
gr.HTML('''<center><a href="https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="复制 Space"></a>强烈建议点击上面的按钮复制一份这个Space,在你自己的Space里运行,响应更迅速、也更安全👆</center>''')
|
|
|
241 |
keyTxt = gr.Textbox(show_label=True, placeholder=f"在这里输入你的OpenAI API-key...",
|
242 |
value=my_api_key, label="API Key", type="password", visible=not HIDE_MY_KEY).style(container=True)
|
243 |
chatbot = gr.Chatbot() # .style(color_map=("#1D51EE", "#585A5B"))
|