superbrain-server 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payload/start.py +4 -2
package/package.json
CHANGED
package/payload/start.py
CHANGED
|
@@ -1336,8 +1336,10 @@ def launch_backend():
|
|
|
1336
1336
|
""")
|
|
1337
1337
|
|
|
1338
1338
|
os.chdir(BASE_DIR)
|
|
1339
|
-
|
|
1340
|
-
|
|
1339
|
+
try:
|
|
1340
|
+
subprocess.run([str(VENV_PYTHON), "-m", "uvicorn", "api:app", "--host", "0.0.0.0", "--port", str(PORT), "--reload"], check=True)
|
|
1341
|
+
except KeyboardInterrupt:
|
|
1342
|
+
pass
|
|
1341
1343
|
|
|
1342
1344
|
# ══════════════════════════════════════════════════════════════════════════════
|
|
1343
1345
|
# Main
|