7 lines
173 B
Python
Raw Normal View History

2023-01-14 09:40:08 +09:00
import os, sys
2023-01-08 17:58:27 +09:00
2023-01-14 09:40:08 +09:00
frontend_path = os.path.join(sys._MEIPASS, "dist") if hasattr(sys, "_MEIPASS") else "../client/demo/dist"
2023-01-08 17:58:27 +09:00
ERROR_NO_ONNX_SESSION = "ERROR_NO_ONNX_SESSION"