File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: SCALAR Tagger CI
22
33on :
44 push :
5- branches : [ master, develop ]
5+ branches : [ master, develop, distilbert ]
66 pull_request :
77 branches : [ master, develop ]
88
@@ -78,12 +78,12 @@ jobs:
7878
7979 - name : Start tagger server
8080 run : |
81- ./ main -r &
81+ python main --mode run --model_type lm_based
8282
8383 # Wait for up to 5 minutes for the service to start and load models
8484 timeout=300
8585 while [ $timeout -gt 0 ]; do
86- if curl -s "http://localhost:8080/cache/ numberArray/DECLARATION" > /dev/null; then
86+ if curl -s "http://localhost:8080/numberArray/DECLARATION" > /dev/null; then
8787 echo "Service is ready"
8888 break
8989 fi
@@ -101,7 +101,7 @@ jobs:
101101
102102 - name : Test tagger endpoint
103103 run : |
104- response=$(curl -s "http://localhost:8080/cache/ numberArray/DECLARATION")
104+ response=$(curl -s "http://localhost:8080/numberArray/DECLARATION")
105105 if [ -z "$response" ]; then
106106 echo "No response from tagger"
107107 exit 1
You can’t perform that action at this time.
0 commit comments