yangrongzhao
Inflect-Nano-v2 for AX650 NPU3
a44ca9d
Raw
History Blame Contribute Delete
554 Bytes
#include "inflect_tts.hpp"
#include <iostream>
int main() {
try {
TTSEngine engine("../models/inflect_encoder.axmodel",
"../models/inflect_decoder.axmodel");
std::cout << "✅ Inflect-Nano-v2 TTS initialized" << std::endl;
std::cout << " Encoder: 1.0 MB, Decoder: 5.6 MB" << std::endl;
std::cout << " Sample rate: 24 kHz, U16 quantization" << std::endl;
} catch (const std::exception& e) {
std::cerr << "❌ " << e.what() << std::endl;
return 1;
}
return 0;
}