sandofree commited on
Commit
381d8be
1 Parent(s): b0c9e67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -17,6 +17,7 @@ logging.basicConfig(
17
  )
18
 
19
  my_api_key = "" # 在这里输入你的 API 密钥
 
20
 
21
  # if we are running in Docker
22
  if os.environ.get("dockerrun") == "yes":
@@ -76,8 +77,6 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
76
  with gr.Row():
77
  with gr.Column(scale=1):
78
  gr.HTML(title)
79
- with gr.Column(scale=4):
80
- gr.HTML('<center><a href="https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>')
81
  with gr.Column(scale=4):
82
  status_display = gr.Markdown(get_geoip(), elem_id="status_display")
83
 
 
17
  )
18
 
19
  my_api_key = "" # 在这里输入你的 API 密钥
20
+ HIDE_MY_KEY = True
21
 
22
  # if we are running in Docker
23
  if os.environ.get("dockerrun") == "yes":
 
77
  with gr.Row():
78
  with gr.Column(scale=1):
79
  gr.HTML(title)
 
 
80
  with gr.Column(scale=4):
81
  status_display = gr.Markdown(get_geoip(), elem_id="status_display")
82