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");
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");