Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
more sys path append
Browse files
resources/app/no_server.py
CHANGED
|
@@ -10,7 +10,9 @@ multiprocessing.freeze_support()
|
|
| 10 |
|
| 11 |
# PROD = 'xVASynth.exe' in os.listdir(".")
|
| 12 |
PROD = True
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
|
| 15 |
# Saves me having to do backend re-compilations for every little UI hotfix
|
| 16 |
with open(f'{"./resources/app" if PROD else "."}/javascript/script.js', encoding="utf8") as f:
|
|
|
|
| 10 |
|
| 11 |
# PROD = 'xVASynth.exe' in os.listdir(".")
|
| 12 |
PROD = True
|
| 13 |
+
sys.path.append("./resources/app")
|
| 14 |
+
sys.path.append("./resources/app/python")
|
| 15 |
+
sys.path.append("./resources/app/deepmoji_plugin")
|
| 16 |
|
| 17 |
# Saves me having to do backend re-compilations for every little UI hotfix
|
| 18 |
with open(f'{"./resources/app" if PROD else "."}/javascript/script.js', encoding="utf8") as f:
|