mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
15 lines
368 B
Bash
Executable File
15 lines
368 B
Bash
Executable File
#!/usr/bin/env bash
|
|
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
|
|
|
|
# switch to backend directory
|
|
pushd "$parent_path/../../backend"
|
|
|
|
export DEBUG_USE_SEED_DATA=True
|
|
export DEBUG_SKIP_TOXICITY_CALCULATION=True
|
|
export DEBUG_ALLOW_SELF_LABELING=True
|
|
export DEBUG_SKIP_EMBEDDING_COMPUTATION=True
|
|
|
|
uvicorn main:app --reload --port 8080 --host 0.0.0.0
|
|
|
|
popd
|