mirror of
https://github.com/imartinez/privateGPT.git
synced 2026-07-17 01:48:03 +00:00
8 lines
184 B
Bash
Executable File
8 lines
184 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
: "${PGPT_WORKER_MODE:?PGPT_WORKER_MODE is required}"
|
|
: "${PGPT_WORKER_APP_MODULE:=private_gpt}"
|
|
|
|
exec python -m "${PGPT_WORKER_APP_MODULE}.worker" "$@"
|