mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-29 16:30:24 +08:00
cc03376d86
* added root tokens and endpoint for adding api keys * Change down revision to current alembic head * removed added_by_root_token * refactored description * fixed jinja errors Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
16 lines
406 B
Bash
Executable File
16 lines
406 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_SKIP_API_KEY_CHECK=False
|
|
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
|