|
@@ -1,7 +1,12 @@
|
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
+# 安装uv依赖
|
|
|
|
|
+uv sync --frozen -i https://mirrors.aliyun.com/pypi/simple/
|
|
|
|
|
+
|
|
|
|
|
+# 激活环境
|
|
|
source /app/.venv/bin/activate
|
|
source /app/.venv/bin/activate
|
|
|
|
|
|
|
|
|
|
+# 启动服务
|
|
|
uv run streamlit run app.py --server.port 8503 --server.headless true --browser.gatherUsageStats false &
|
|
uv run streamlit run app.py --server.port 8503 --server.headless true --browser.gatherUsageStats false &
|
|
|
uv run python start_server.py --host 0.0.0.0 --port 5344 &
|
|
uv run python start_server.py --host 0.0.0.0 --port 5344 &
|
|
|
|
|
|