mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 20:12:55 +01:00
6 lines
192 B
Python
6 lines
192 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
PROJECT_ROOT_PATH: Path = Path(__file__).parents[1]
|
|
script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
UPLOAD_DIR = os.path.join(script_dir, "static")
|