-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from meedan/CV2-3435-update-config
CV2-3435 update config for port
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
PRESTO_PORT=8000 | ||
DEPLOY_ENV=local | ||
MODEL_NAME=mean_tokens.Model | ||
# MODEL_NAME=mean_tokens.Model | ||
MODEL_NAME=audio.Model | ||
AWS_ACCESS_KEY_ID=SOMETHING | ||
AWS_SECRET_ACCESS_KEY=OTHERTHING |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/sh | ||
|
||
# Start the first process in the background | ||
uvicorn main:app --host 0.0.0.0 --reload & | ||
uvicorn main:app --host 0.0.0.0 --port ${PRESTO_PORT} --reload & | ||
|
||
# Start the second process in the foreground | ||
# This will ensure the script won't exit until this process does | ||
python run_worker.py & | ||
python run_worker.py & | ||
python run_processor.py |