Add sam support

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Aisuko 2023-11-05 08:41:48 +00:00
parent 8123f009d0
commit edcae7a5f1
8 changed files with 728 additions and 7 deletions

13
extra/grpc/sam/run.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
##
## A bash script wrapper that runs the sam server with conda
export PATH=$PATH:/opt/conda/bin
# Activate conda environment
source activate sam
# get the directory where the bash script is located
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
python $DIR/sam.py $@