From e375613692e203da5ed67a5abcf90395cb32075e Mon Sep 17 00:00:00 2001 From: Alexey Barabanov Date: Wed, 22 Oct 2025 13:47:36 +0000 Subject: [PATCH] add config.toml --- .streamlit/config.toml | 5 +++++ visual.py | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .streamlit/config.toml diff --git a/.streamlit/config.toml b/.streamlit/config.toml new file mode 100644 index 0000000..185d283 --- /dev/null +++ b/.streamlit/config.toml @@ -0,0 +1,5 @@ +[browser] +gatherUsageStats = false + +[server] +enableStaticServing = true diff --git a/visual.py b/visual.py index 9d363b7..9a31eaf 100644 --- a/visual.py +++ b/visual.py @@ -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 ""