Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

421 B
Raw Blame
import os
import re
import sys

if not re.fullmatch(r"[a-fA-F0-9]{64}", os.environ.get("PIPELINES_API_KEY", "")):
    raise SystemExit("OPENWEBUI_PIPELINES_API_KEY must contain 64 hexadecimal characters")

# Use native application loading without the upstream download/reset shell steps.
os.execv(sys.executable, [sys.executable, "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "9099", "--no-proxy-headers"])