mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-01 16:34:59 +00:00
Add sam support
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
8123f009d0
commit
edcae7a5f1
8 changed files with 728 additions and 7 deletions
13
extra/grpc/sam/run.sh
Executable file
13
extra/grpc/sam/run.sh
Executable 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 $@
|
Loading…
Add table
Add a link
Reference in a new issue