import gradio as gr from tts import synthesize_speech def main(): tts_interface = gr.Interface( fn=synthesize_speech, inputs="text", outputs="audio", title="Faroese TTS Demo", description="Text-to-Speech Synthesis for Faroese" ) demo = gr.TabbedInterface([tts_interface], ["TTS"]) demo.launch() if __name__ == "__main__": main()