SERVER_ENVIRONMENT=development DATABASE_URL=mysql://storyteller:password@localhost/storyteller #DATABASE_URL=sqlite:/tmp/tasks.sqlite #DATABASE_URL=mysql://root:root@localhost/storyteller #DATABASE_URL=mysql://root@localhost/storyteller # Diesel-cli reads this for the migration directory to use. # We've renamed it so the migrations are sorted near the top of the project directory tree # (since they kind of serve as documentation) MIGRATION_DIRECTORY=_database/sql/migrations/ # SQLX normally requires a live database to reflect upon at build time. # This setting turns that on and requires a `sql-data.json` cache file instead. # See https://github.com/launchbadge/sqlx/tree/master/sqlx-cli#readme #SQLX_OFFLINE=true # NB(bt, 2023-03-20): # These are used in storyteller-web, image-generation-service, and websocket-gateway. # I'm moving them to env configs that live under storyteller-web/.env. # This will break the other services for now. # # We can't serve HTTPS locally without self-signed certificate nonsense. # COOKIE_SECURE=false # COOKIE_DOMAIN=.jungle.horse # WEBSITE_HOMEPAGE_REDIRECT=http://jungle.horse # Bucket config (non-secret) REGION_NAME=us-east1 TTS_DOWNLOAD_BUCKET_NAME=dev-vocodes-private-uploads TTS_DOWNLOAD_BUCKET_ROOT=/user_uploaded_tts_models W2L_PRIVATE_DOWNLOAD_BUCKET_NAME=dev-vocodes-private-uploads W2L_PUBLIC_DOWNLOAD_BUCKET_NAME=dev-vocodes-public PRIVATE_BUCKET_NAME=dev-vocodes-private-uploads PUBLIC_BUCKET_NAME=dev-vocodes-public # Bucket roots AUDIO_UPLOADS_BUCKET_ROOT=/user_uploaded_w2l_audio W2L_DOWNLOAD_BUCKET_ROOT=/user_uploaded_w2l_templates W2L_INFERENCE_OUTPUT_BUCKET_ROOT=/w2l_output W2L_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-web/models/Wav2Lip W2L_INFERENCE_SCRIPT_NAME=vocodes_process_inference.py W2L_MODEL_FILENAME=wav2lip_gan.pth #W2L_MODEL_CHECKPOINT=/home/bt/models/wav2lip/s3fd-619a316812.pth W2L_MODEL_CHECKPOINT=/home/bt/models/wav2lip/wav2lip_gan.pth W2L_END_BUMP_FILENAME=vocodes-short-end-bump.mp4 W2L_DOWNLOAD_SCRIPT_NAME=vocodes_process_upload.py TTS_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-ml/tts TTS_INFERENCE_SCRIPT_NAME=vocodes_inference.py TACOTRON_ROOT_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-ml/tts TACOTRON_VIRTUAL_ENV_ACTIVATION_COMMAND="source python/bin/activate" TACOTRON_MODEL_CHECK_SCRIPT_NAME="vocodes_model_check_tacotron.py" TALKNET_ROOT_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-ml/tts TALKNET_MODEL_CHECK_SCRIPT_NAME="vocodes_model_check_talknet.py" HIFIGAN_ROOT_CODE_DIRECTORY=/home/bt/dev/storyteller/storyteller-ml/tts HIFIGAN_VIRTUAL_ENV_ACTIVATION_COMMAND="source python/bin/activate" HIFIGAN_MODEL_CHECK_SCRIPT_NAME="vocodes_model_check_hifigan.py" DOWNLOAD_SCRIPT="/home/tensor/code/storyteller/web-downloader/.venv/bin/python3.11 /home/tensor/code/storyteller/web-downloader/download_internet_file.py" TTS_INFERENCE_SIDECAR_HOSTNAME=localhost:8000 #TTS_WAVEGLOW_VOCODER_MODEL_FILENAME=waveglow_256channels_universal_v5.pt # THIS SOUNDS HORRID #TTS_WAVEGLOW_VOCODER_MODEL_FILENAME=waveglow_256channels_v4_uberduck.pt # THIS IS TOO SMALL! 300MB vs 1.2 GB! TTS_WAVEGLOW_VOCODER_MODEL_FILENAME=waveglow_256channels_v4.pt TTS_HIFIGAN_VOCODER_MODEL_FILENAME=hifigan_universal_g_02500000.pt TTS_HIFIGAN_SUPERRES_VOCODER_MODEL_FILENAME=hifigan_superres_twilight_33000.pt # Development key. Permissible to check in. NEWRELIC_API_KEY=c402be1c4c4216ec83d0cfc0851520cfFFFFNRAL # DO NOT UNCOMMENT THIS :P :P :P #STORYTELLER_ROOT="/home/tensor/code/storyteller/" # Put this in .env-secrets so that not everyone gets this setting.