MVPilgrim commited on
Commit
f5ff97a
·
verified ·
1 Parent(s): 648c0ea

Update startup.sh

Browse files
Files changed (1) hide show
  1. startup.sh +4 -0
startup.sh CHANGED
@@ -11,6 +11,10 @@ echo "#### startup.sh entered."
11
  echo "#### Before /app/text2vec-transformers"
12
  /app/text2vec-transformers/bin/uvicorn app:app --host 0.0.0.0 --port 8081 --log-level warning --timeout-keep-alive 1440 &
13
 
 
 
 
 
14
  ###############################################
15
  # Start the weaviate vector database server.
16
  echo "#### Before /app/weaviate"
 
11
  echo "#### Before /app/text2vec-transformers"
12
  /app/text2vec-transformers/bin/uvicorn app:app --host 0.0.0.0 --port 8081 --log-level warning --timeout-keep-alive 1440 &
13
 
14
+ sleep 5
15
+ echo "######## curl t2 "
16
+ curl localhost:8081/vectors -H 'Content-Type: application/json' -d '{"text": "foo bar"}'
17
+
18
  ###############################################
19
  # Start the weaviate vector database server.
20
  echo "#### Before /app/weaviate"