Spaces:
Runtime error
Runtime error
Update chat_func.py
Browse files- chat_func.py +4 -1
chat_func.py
CHANGED
@@ -469,7 +469,10 @@ def reduce_token_size(
|
|
469 |
|
470 |
user_id = os.environ.get("USERNAME")
|
471 |
print(user_id)
|
472 |
-
|
|
|
|
|
|
|
473 |
# 将获取到的信息写入txt文件
|
474 |
#all_token_counts = 10
|
475 |
|
|
|
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}")
|
474 |
+
logging.info(f"Hugging Face IP address: {hf_ip}")
|
475 |
+
logging.info(f"Hugging Face username: {hf_username}")
|
476 |
# 将获取到的信息写入txt文件
|
477 |
#all_token_counts = 10
|
478 |
|