voice-changer/server/const.py
2023-01-14 09:40:08 +09:00

7 lines
173 B
Python

import os, sys
frontend_path = os.path.join(sys._MEIPASS, "dist") if hasattr(sys, "_MEIPASS") else "../client/demo/dist"
ERROR_NO_ONNX_SESSION = "ERROR_NO_ONNX_SESSION"