Spaces:
Runtime error
Runtime error
File size: 428 Bytes
c82c4bf 6e08b2f c82c4bf 6e08b2f c82c4bf 6e08b2f c82c4bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import gradio as gr
import os
read_aloud_demo = gr.load(
"arslanarjumand/ReadAloud",
src="spaces",
hf_token=os.environ['API_KEY']
)
reapeat_sentence_demo = gr.load(
"arslanarjumand/RepeatSentence",
src="spaces",
hf_token=os.environ['API_KEY']
)
demo = gr.TabbedInterface([read_aloud_demo, reapeat_sentence_demo], ["Read Aloud", "Repeat Sentence"])
if __name__ == "__main__":
demo.launch()
|