MZhao commited on
Commit
3c2c764
·
unverified ·
1 Parent(s): 3fc0707

修复`favicon.ico`找不到的问题

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +3 -3
ChuanhuChatbot.py CHANGED
@@ -394,14 +394,14 @@ if __name__ == "__main__":
394
  server_name="0.0.0.0",
395
  server_port=7860,
396
  auth=(username, password),
397
- favicon_path="./assets/favicon.png",
398
  )
399
  else:
400
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
401
  server_name="0.0.0.0",
402
  server_port=7860,
403
  share=False,
404
- favicon_path="./assets/favicon.png",
405
  )
406
  # if not running in Docker
407
  else:
@@ -409,7 +409,7 @@ if __name__ == "__main__":
409
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
410
  share=False,
411
  auth=(username, password),
412
- favicon_path="./assets/favicon.png",
413
  inbrowser=True,
414
  )
415
  else:
 
394
  server_name="0.0.0.0",
395
  server_port=7860,
396
  auth=(username, password),
397
+ favicon_path="./assets/favicon.ico",
398
  )
399
  else:
400
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
401
  server_name="0.0.0.0",
402
  server_port=7860,
403
  share=False,
404
+ favicon_path="./assets/favicon.ico",
405
  )
406
  # if not running in Docker
407
  else:
 
409
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
410
  share=False,
411
  auth=(username, password),
412
+ favicon_path="./assets/favicon.ico",
413
  inbrowser=True,
414
  )
415
  else: