mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
Blackbox MeloTTS created
This commit is contained in:
27
README.md
27
README.md
@ -1,8 +1,13 @@
|
||||
# jarvis-models
|
||||
## Dependencies
|
||||
|
||||
## Conda Environment and Python Library Requirement
|
||||
```bash
|
||||
conda create -n jarvis-models python==3.10.11
|
||||
pip install -r sample/requirement_out_of_pytorch.txt
|
||||
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
|
||||
```
|
||||
## More Dependencies
|
||||
| System | package | web | install command |
|
||||
| --- | --- | --- | --- |
|
||||
| --- | | --- | --- |
|
||||
| python | filetype | https://pypi.org/project/filetype/ | pip install filetype |
|
||||
| python | fastAPI | https://fastapi.tiangolo.com/ | pip install fastapi |
|
||||
| python | python-multipart | https://pypi.org/project/python-multipart/ | pip install python-multipart |
|
||||
@ -13,15 +18,25 @@
|
||||
| python | injector | https://github.com/python-injector/injector | pip install injector |
|
||||
| python | langchain | https://github.com/langchain-ai/langchain | pip install langchain |
|
||||
| python | chromadb | https://docs.trychroma.com/getting-started | pip install chromadb |
|
||||
| python | lagent | https://github.com/InternLM/lagent/blob/main/README.md | pip install lagent |
|
||||
|
||||
|
||||
## Start
|
||||
Dev rh
|
||||
Start the jarvis-models service via
|
||||
```bash
|
||||
uvicorn main:app --reload
|
||||
```
|
||||
or
|
||||
```bash
|
||||
python main.py
|
||||
```
|
||||
|
||||
## Configuration
|
||||
Create ".env.yaml" at the root of jarvis-models, and copy the following yaml configuration
|
||||
```yaml
|
||||
melotts:
|
||||
url: http://{IP running docker melotts-api}:18080/convert/tts
|
||||
|
||||
tesou:
|
||||
url: http://120.196.116.194:48891/chat/
|
||||
|
||||
@ -57,7 +72,3 @@ Model:
|
||||
do_copy_in_default_stream: true
|
||||
batch_size: 3
|
||||
```
|
||||
|
||||
## Python library need to install
|
||||
```bash
|
||||
```
|
||||
Reference in New Issue
Block a user