File size: 847 Bytes
9c4c740
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57334fb
9c4c740
 
 
8053e74
 
 
9c4c740
57334fb
9c4c740
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57334fb
9c4c740
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
license: gpl-2.0
language:
- hy
tags:
- armenian
- text-to-speech
- tts
- speech
- omnivoice
- pytorch
pipeline_tag: text-to-speech
---

# AVoice-TTS

Open source Armenian text-to-speech checkpoint for AVoice.

Runtime code:

`https://github.com/Hakob-Harutyunyan/AVoice`

## Usage

Try it in Kaggle!
https://www.kaggle.com/code/hakdevelopment/avoice-testing

```bash
git clone https://github.com/Hakob-Harutyunyan/AVoice.git
cd Avoice
pip install -U pip
pip install -e .

omnivoice-infer \
  --model Hak5/AVoice-TTS \
  --text "Բարեւ աշխարհ։" \
  --language hy \
  --duration 4 \
  --output sample.wav
```

## Docker

```bash
docker build -t avoice-api https://github.com/Hakob-Harutyunyan/AVoice.git

docker run --gpus all --rm -p 8000:8000 \
  -e OMNIVOICE_MODEL=Hak5/AVoice-TTS \
  -e OMNIVOICE_DEVICE=cuda \
  avoice-api
```