mirror of
https://github.com/open-webui/pipelines
synced 2025-05-10 15:40:55 +00:00
13 lines
263 B
Python
13 lines
263 B
Python
import os
|
|
|
|
####################################
|
|
# Load .env file
|
|
####################################
|
|
|
|
try:
|
|
from dotenv import load_dotenv, find_dotenv
|
|
|
|
load_dotenv(find_dotenv("./.env"))
|
|
except ImportError:
|
|
print("dotenv not installed, skipping...")
|