shideqin commited on
Commit
aee90bb
·
1 Parent(s): f008f0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,7 +26,7 @@ else:
26
  authflag = False
27
 
28
  if dockerflag:
29
- my_api_key = os.environ.get("API_TOKEN","")
30
  # auth
31
  username = os.environ.get("USERNAME")
32
  password = os.environ.get("PASSWORD")
@@ -424,11 +424,11 @@ with gr.Blocks(
424
 
425
  logging.info(
426
  colorama.Back.GREEN
427
- + "\n川虎的温馨提示:访问 http://localhost:7860 查看界面"
428
  + colorama.Style.RESET_ALL
429
  )
430
  # 默认开启本地服务器,默认可以直接从IP访问,默认不创建公开分享链接
431
- demo.title = "川虎ChatGPT 🚀"
432
 
433
  if __name__ == "__main__":
434
  reload_javascript()
 
26
  authflag = False
27
 
28
  if dockerflag:
29
+ my_api_key = os.environ.get("OPENAI_KEY","")
30
  # auth
31
  username = os.environ.get("USERNAME")
32
  password = os.environ.get("PASSWORD")
 
424
 
425
  logging.info(
426
  colorama.Back.GREEN
427
+ + "\n温馨提示:访问 http://localhost:7860 查看界面"
428
  + colorama.Style.RESET_ALL
429
  )
430
  # 默认开启本地服务器,默认可以直接从IP访问,默认不创建公开分享链接
431
+ demo.title = "ChatGPT 🚀"
432
 
433
  if __name__ == "__main__":
434
  reload_javascript()