coqui-tts/TTS
Florian Quirin 478c8178b8
Basic Mary-TTS API compatibility (#2352)
* added basic Mary-TTS API endpoints to server

- imported `parse_qs` from `urllib.parse` to parse HTTP POST parameters
- imported `render_template_string` from `flask` to return text as endpoint result
- added new routes:
  - `/locales` - returns list of locales (currently locale of active model)
  - `/voices` - returns list of voices (currently locale and name of active model)
  - `/process` - accepts synth. request (GET and POST) with parameter `INPUT_TEXT` (other parameters ignored since we have only one active model)

* better log messages for Mary-TTS API

- smaller tweaks to log output

* use f-string in log print to please linter

* updated server.py to match 'make style' result
2023-03-06 10:08:21 +01:00
..
bin Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
config Multilingual tokenizer (#2229) 2023-01-02 10:03:19 +01:00
encoder Fix Speaker Consistency Loss (SCL) (#2364) 2023-02-27 09:14:00 +03:00
server Basic Mary-TTS API compatibility (#2352) 2023-03-06 10:08:21 +01:00
tts OverFlow with test sentences (#2253) 2023-03-01 09:11:30 +01:00
utils Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
vocoder Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
.models.json Add pretrained model 2023-01-30 13:55:17 +01:00
VERSION Bump up to v0.11.1 2023-02-10 15:59:05 +01:00
__init__.py Use `coqui_tts` as the default run name 2021-08-30 12:56:47 +00:00
api.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
model.py Cache fsspec downloads (#2132) 2022-11-09 22:12:48 +01:00