mirror of
https://github.com/open-webui/pipelines
synced 2025-06-26 18:15:58 +00:00
Merge pull request #500 from Fyve-Labs/hotfix/definition_missing
Some checks are pending
Create and publish Docker images with specific build args / build-main-image (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (push) Waiting to run
Create and publish Docker images with specific build args / build-minimum-image (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-minimum-images (push) Blocked by required conditions
Some checks are pending
Create and publish Docker images with specific build args / build-main-image (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (push) Waiting to run
Create and publish Docker images with specific build args / build-minimum-image (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-minimum-images (push) Blocked by required conditions
fix(undefined-const): hotfix for missing constants
This commit is contained in:
commit
8cfdd63ae0
11
config.py
11
config.py
@ -1,5 +1,5 @@
|
||||
import os
|
||||
|
||||
import logging
|
||||
####################################
|
||||
# Load .env file
|
||||
####################################
|
||||
@ -11,5 +11,14 @@ try:
|
||||
except ImportError:
|
||||
print("dotenv not installed, skipping...")
|
||||
|
||||
# Define log levels dictionary
|
||||
LOG_LEVELS = {
|
||||
'DEBUG': logging.DEBUG,
|
||||
'INFO': logging.INFO,
|
||||
'WARNING': logging.WARNING,
|
||||
'ERROR': logging.ERROR,
|
||||
'CRITICAL': logging.CRITICAL
|
||||
}
|
||||
|
||||
API_KEY = os.getenv("PIPELINES_API_KEY", "0p3n-w3bu!")
|
||||
PIPELINES_DIR = os.getenv("PIPELINES_DIR", "./pipelines")
|
||||
|
Loading…
Reference in New Issue
Block a user