LocalAI/backend/python/bark
Ettore Di Giacinto ad0e30bca5
refactor: move backends into the backends directory (#1279)
* refactor: move backends into the backends directory

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* refactor: move main close to implementation for every backend

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-11-13 22:40:16 +01:00
..
backend_pb2_grpc.py refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
backend_pb2.py refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
Makefile refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
README.md refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
run.sh refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
test_ttsbark.py refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
ttsbark.py refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00
ttsbark.yml refactor: move backends into the backends directory (#1279) 2023-11-13 22:40:16 +01:00

Creating a separate environment for ttsbark project

make ttsbark

Testing the gRPC server

<The path of your python interpreter> -m unittest test_ttsbark.py

For example

/opt/conda/envs/bark/bin/python -m unittest extra/grpc/bark/test_ttsbark.py