Spaces:
Configuration error
Configuration error
File size: 587 Bytes
001d877 8f6b527 1389cb3 8f6b527 1389cb3 8f6b527 9ee5837 8f6b527 1389cb3 8f6b527 9ee5837 8f6b527 1389cb3 8f6b527 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
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() |