mirror of
https://github.com/mudler/LocalAI.git
synced 2026-03-30 20:52:11 -04:00
share diffusers and petals
This commit is contained in:
11
backend/python/petals/test.sh
Normal file
11
backend/python/petals/test.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
##
|
||||
## A bash script wrapper that runs the transformers server with conda
|
||||
|
||||
# Activate conda environment
|
||||
source activate transformers
|
||||
|
||||
# get the directory where the bash script is located
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
python -m unittest $DIR/test_petals.py
|
||||
Reference in New Issue
Block a user