romanbredehoft-zama's picture
Add app with mockup display
1ba3f22
raw history blame
No virus
529 Bytes
"All constants used in the project."
from pathlib import Path
# The directory of this project
REPO_DIR = Path(__file__).parent
# This repository's main necessary directories
FILTERS_PATH = REPO_DIR / "filters"
FHE_KEYS = REPO_DIR / ".fhe_keys"
CLIENT_FILES = REPO_DIR / "client_files"
SERVER_FILES = REPO_DIR / "server_files"
# Create the necessary directories
FHE_KEYS.mkdir(exist_ok=True)
CLIENT_FILES.mkdir(exist_ok=True)
SERVER_FILES.mkdir(exist_ok=True)
# Store the server's URL
SERVER_URL = "http://localhost:8000/"