yiyixin commited on
Commit
84b6f5b
1 Parent(s): 44a8b44
Files changed (2) hide show
  1. run.sh +1 -1
  2. serve_grobid.sh +1 -0
run.sh CHANGED
@@ -1,3 +1,3 @@
1
- /app/grobid-${GROBID_VERSION}/gradlew run
2
  nohup python backend.py &
3
  streamlit run frontend.py --server.address 0.0.0.0 --server.port 7860 --server.enableCORS true --server.enableXsrfProtection false
 
1
+ /app/grobid-0.6.2/gradlew run
2
  nohup python backend.py &
3
  streamlit run frontend.py --server.address 0.0.0.0 --server.port 7860 --server.enableCORS true --server.enableXsrfProtection false
serve_grobid.sh CHANGED
@@ -5,6 +5,7 @@ declare -r GROBID_VERSION="0.6.2" # or change to current stable version
5
 
6
  if [ ! -d grobid-${GROBID_VERSION} ]; then
7
  wget https://github.com/kermitt2/grobid/archive/${GROBID_VERSION}.zip
 
8
  unzip "${GROBID_VERSION}.zip"
9
  rm "${GROBID_VERSION}.zip"
10
  fi
 
5
 
6
  if [ ! -d grobid-${GROBID_VERSION} ]; then
7
  wget https://github.com/kermitt2/grobid/archive/${GROBID_VERSION}.zip
8
+ sudo chmod 777 "${GROBID_VERSION}.zip"
9
  unzip "${GROBID_VERSION}.zip"
10
  rm "${GROBID_VERSION}.zip"
11
  fi