This commit is contained in:
Timothy Jaeryang Baek
2025-01-02 21:33:39 -08:00
parent e0efa290d6
commit 7f356751bb
6 changed files with 75 additions and 1 deletions

12
env.py Normal file
View File

@@ -0,0 +1,12 @@
import os
try:
from dotenv import load_dotenv
load_dotenv()
except ImportError:
print("dotenv not installed, skipping...")
WEBUI_URL = os.getenv("WEBUI_URL", "http://localhost:8080")
TOKEN = os.getenv("TOKEN", "")