File size: 554 Bytes
a44ca9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
}