File size: 468 Bytes
b762a69 a82e470 42c48bf 7f071ad 4198a8f 7f071ad 209b056 6502cea 209b056 42c48bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/usr/bin/bash
set -e
echo "Copying over the optimized model from project folder for huggingface front-end" >> ~/log_file.txt
cp /home/sivakornchong/hdb_project/model/finalized_model2.sav /home/sivakornchong/HDB_resale_predict/
echo "Copied" >> ~/log_file.txt
GIT='git --git-dir=/home/sivakornchong/HDB_resale_predict/.git'
cd /home/sivakornchong/HDB_resale_predict/
$GIT add .
$GIT commit -m "VM update"
$GIT push
echo "Pushed to huggingface" >> ~/log_file.txt
|