RAGflow/api/root_path.py

6 lines
106 B
Python

import os
def get_root_folder():
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))