metaambod / app.py
unijoh's picture
Update app.py
cb292d6 verified
raw
history blame
392 Bytes
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()