add config.toml

This commit is contained in:
2025-10-22 13:47:36 +00:00
parent 0b85081ba5
commit e375613692
2 changed files with 7 additions and 1 deletions

5
.streamlit/config.toml Normal file
View File

@@ -0,0 +1,5 @@
[browser]
gatherUsageStats = false
[server]
enableStaticServing = true

View File

@@ -327,7 +327,8 @@ def load_data_from_json(filepath):
directory = FOLDER_JSON
os.makedirs(directory, exist_ok=True)
filepath_full = os.path.join(directory, f"{filepath}.json")
print(filepath_full)
print(filepath)
# вычисление ключа
# ip = get_ip_address()
# host = ip_check.get(ip, {}).get("host") or ""