Add dataset bench and validation agents
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
BACKEND_ENV="${SEG_BACKEND_CONDA_ENV:-seg_server}"
|
||||
BACKEND_ENV="${SEG_BACKEND_CONDA_ENV:-seg_smp}"
|
||||
HOST="${SEG_BACKEND_HOST:-0.0.0.0}"
|
||||
PORT="${SEG_BACKEND_PORT:-8000}"
|
||||
PORT="${SEG_BACKEND_PORT:-8010}"
|
||||
|
||||
cd "${ROOT_DIR}"
|
||||
exec conda run -n "${BACKEND_ENV}" uvicorn app.main:app --app-dir backend --host "${HOST}" --port "${PORT}" --reload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user