share diffusers and petals

This commit is contained in:
Ettore Di Giacinto 2023-12-20 00:04:57 +00:00
parent b6256bf2e4
commit 244bf470ee
9 changed files with 179 additions and 14 deletions

View 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