Multi-Complex / app.py
seawolf2357's picture
initial commit
9ee5837
raw
history blame
587 Bytes
import gradio as gr
title = "AI Multi Set"
tts_examples = [
"I love learning machine learning",
"How do you do?",
]
tts_demo = gr.Interface.load(
"spaces/seawolf2357/multi_test",
title=None,
examples=tts_examples,
description="Give me something to say!",
)
stt_demo = gr.Interface.load(
"spaces/seawolf2357/PDF-text-extractor",
title=None,
inputs="mic",
description="Let me try to guess what you're saying!",
)
demo = gr.TabbedInterface([tts_demo, stt_demo], ["Text-to-speech", "Speech-to-text"])
if __name__ == "__main__":
demo.launch()