JohnSmith9982 commited on
Commit
b4b4546
1 Parent(s): 4a25f41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -237,6 +237,8 @@ description = """<div align=center>
237
  """
238
  with gr.Blocks() as demo:
239
  gr.HTML(title)
 
 
240
  keyTxt = gr.Textbox(show_label=True, placeholder=f"在这里输入你的OpenAI API-key...",
241
  value=my_api_key, label="API Key", type="password", visible=not HIDE_MY_KEY).style(container=True)
242
  chatbot = gr.Chatbot() # .style(color_map=("#1D51EE", "#585A5B"))
 
237
  """
238
  with gr.Blocks() as demo:
239
  gr.HTML(title)
240
+ gr.HTML('''强烈建议点击下面的复制一份这个Space,在你自己的Space里运行,响应更迅速、也更安全👇''')
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"))