kidcoconut's picture
merged github/demo_huggingFace into runner/main
75660bd
raw
history blame
654 Bytes
#--- note: this file is loaded by fastapi and streamlit,
# # so keep it independant of those libs
from pathlib import Path
pth_pwd = Path(__file__).resolve().parent
pth_appRoot = pth_pwd.parent
pth_root = str(pth_appRoot) + "/"
pth_api = pth_root + "api/"
pth_bin = pth_root + "bin/"
pth_binModels = pth_root + "bin/models/"
pth_data = pth_root + "data/"
pth_lib = pth_root + "lib/"
pth_libModels = pth_root + "models/"
pth_model = pth_root + "model/"
pth_qa = pth_root + "qa/"
pth_routes = pth_root + "routes/"
pth_templ = pth_root + "templ/"
pth_uix = pth_root + "uix/"
m_klngMaxRecords = 100
m_klngSampleSize = 25