File size: 859 Bytes
af1c552
44e7f92
 
 
 
 
 
 
 
 
 
af1c552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<<<<<<< HEAD
---
title: Vits Simple Api
emoji: 🏢
colorFrom: green
colorTo: gray
sdk: docker
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
=======
# MoeGoe-Simple-API

Based on [MoeGoe](https://github.com/CjangCjengh/MoeGoe)

# How to use

1. Download VITS model and put it in *Model.*
2. Modify the model path in app.py.
3. Install requirements and start.

```
pip install -r requirements.txt

python app.py
```

## Japanese

- GET http://127.0.0.1/api/ja?text=text&id=0&format=wav

return wav audio file

- GET http://127.0.0.1/api/ja?text=text&id=0&format=ogg

return ogg audio file

## Chinese

- GET http://127.0.0.1/api/zh?text=text&id=0&format=wav

return wav audio file

- GET http://127.0.0.1/api/zh?text=text&id=0&format=ogg

return ogg audio file
>>>>>>> f9f5543 (simple api)