sivakornchong commited on
Commit
42c48bf
1 Parent(s): b762a69
Files changed (3) hide show
  1. .gitignore +2 -1
  2. finalized_model2.sav +0 -0
  3. huggingface_boot.sh +3 -3
.gitignore CHANGED
@@ -1,2 +1,3 @@
1
  __pycache__
2
- .ipynb_checkpoints
 
 
1
  __pycache__
2
+ .ipynb_checkpoints
3
+ .swp
finalized_model2.sav CHANGED
Binary files a/finalized_model2.sav and b/finalized_model2.sav differ
 
huggingface_boot.sh CHANGED
@@ -1,9 +1,7 @@
1
  #!/usr/bin/bash
2
-
3
- eval $(ssh-agent -s)
4
  set -e
5
 
6
- echo "Copying over the optimized model from project folder for huggingface front-end"
7
  cp /home/sivakornchong/hdb_project/model/finalized_model2.sav /home/sivakornchong/HDB_resale_predict/
8
 
9
  GIT='git --git-dir=/home/sivakornchong/HDB_resale_predict/.git'
@@ -11,3 +9,5 @@ GIT='git --git-dir=/home/sivakornchong/HDB_resale_predict/.git'
11
  $GIT add .
12
  $GIT commit -m "VM update"
13
  $GIT push
 
 
 
1
  #!/usr/bin/bash
 
 
2
  set -e
3
 
4
+ echo "Copying over the optimized model from project folder for huggingface front-end" >> ~/log_file.txt
5
  cp /home/sivakornchong/hdb_project/model/finalized_model2.sav /home/sivakornchong/HDB_resale_predict/
6
 
7
  GIT='git --git-dir=/home/sivakornchong/HDB_resale_predict/.git'
 
9
  $GIT add .
10
  $GIT commit -m "VM update"
11
  $GIT push
12
+
13
+ echo "Pushed to huggingface" >> ~/log_file.txt