What is Nostr?
SarahJamieLewis /
npub14mf…p58n
2024-10-02 18:06:53
in reply to nevent1q…qx87

SarahJamieLewis on Nostr: npub198t8k…5hasj The coqui-ai/TTS server is utilizing a low end-graphics card and ...

npub198t8kgwqas59rvmnghzcdn6krzhxhpkyt2mt53e4g9sdnj74sszss5hasj (npub198t…hasj)

The coqui-ai/TTS server is utilizing a low end-graphics card and the whole process is faster than read-time.

The core code (rust):

Code:

let resp = reqwest::blocking::get(format!("http://<redacted>:5002/api/tts?text={}&speaker_id=p311&style_wav=&language_id=3";, part)).unwrap();
let wav = resp.bytes().unwrap_or_default();
write(format!("{}.{:04}.wav", filename, part_num), wav.as_ref()).expect("TODO: panic message");
Author Public Key
npub14mfj9wu5ujvu6rxj8w62dvkvqj7myqc6kz0upz3kuw3wx4dz9vgstvp58n