mirror of
https://github.com/open-webui/bot
synced 2025-05-12 00:22:06 +00:00
13 lines
230 B
Python
13 lines
230 B
Python
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", "")
|