Skip to content

Commit

Permalink
Forgotten wotd script
Browse files Browse the repository at this point in the history
  • Loading branch information
turtlesoupy committed Jan 12, 2021
1 parent 965405f commit 7b762e6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/start_wotd_gcloud.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
export ASSET_PATH = /home/tdimson/title-maker-pro/build
export GOOGLE_APPLICATION_CREDENTIALS=$ASSET_PATH/this-word-does-not-exist-a55cb3814f2b.json

. /home/tdimson/title-maker-pro/build/env_vars.sh && \
/home/tdimson/miniconda3/envs/title_maker_pro/bin/python \
/home/tdimson/title-maker-pro/title_maker_pro/wotd_bot.py \
--log-file /home/tdimson/title-maker-pro/logs/wotd_gcloud.log \
--gcloud-project this-word-does-not-exist \
--gcloud-bucket this-word-does-not-exist-wotd \
--forward-model-path $ASSET_PATH/forward-dictionary-model-v1 \
--blacklist-path $ASSET_PATH/blacklist.pickle \
--inverse-model-path $ASSET_PATH/inverse-dictionary-model-v1 \
$@

0 comments on commit 7b762e6

Please sign in to comment.