-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exclude banned users from leaderboard
- Loading branch information
1 parent
07b58d4
commit a272ec2
Showing
2 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/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_ALLOW_SELF_RANKING=True | ||
export DEBUG_ALLOW_DUPLICATE_TASKS=True | ||
export DEBUG_SKIP_EMBEDDING_COMPUTATION=True | ||
export RATE_LIMIT=0 | ||
export DEBUG_USE_SEED_DATA_PATH=$parent_path/../../backend/test_data/generic/test_generic_data.json | ||
|
||
uvicorn main:app --reload --port 8080 --host 0.0.0.0 | ||
|
||
popd |