Woocy commited on
Commit
b3d7cdc
1 Parent(s): 322f27c

Update chat_func.py

Browse files
Files changed (1) hide show
  1. chat_func.py +6 -0
chat_func.py CHANGED
@@ -466,8 +466,14 @@ def reduce_token_size(
466
 
467
 
468
 
 
 
 
 
 
469
 
470
  user_id = os.environ.get("USERNAME")
 
471
  print(user_id)
472
  print(f"Hugging Face IP address: {hf_ip}")
473
  print(f"Hugging Face username: {hf_username}")
 
466
 
467
 
468
 
469
+ # 获取 Hugging Face 的 IP 地址
470
+ hf_ip = os.getenv("HF_IP_ADDRESS")
471
+
472
+ # 获取 Hugging Face 的用户名
473
+ hf_username = os.getenv("HF_USERNAME")
474
 
475
  user_id = os.environ.get("USERNAME")
476
+
477
  print(user_id)
478
  print(f"Hugging Face IP address: {hf_ip}")
479
  print(f"Hugging Face username: {hf_username}")