Nymbo commited on
Commit
7bf63a2
1 Parent(s): d9bb904

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -2
app.py CHANGED
@@ -65,9 +65,29 @@ tabbed_interface = gr.TabbedInterface(
65
  ["Speech-to-text", "Text-to-speech", "Language Identification"],
66
  )
67
 
68
- with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
69
  gr.Markdown(
70
- "<p align='center' style='font-size: 20px;'> MMS: Text-to-Speech, Speech-to-Text, and Language Recognition for 1,100+ languages.</p>"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  )
72
 
73
  if __name__ == "__main__":
 
65
  ["Speech-to-text", "Text-to-speech", "Language Identification"],
66
  )
67
 
68
+ with gr.Blocks() as demo:
69
  gr.Markdown(
70
+ "<p align='center' style='font-size: 20px;'>MMS: Scaling Speech Technology to 1000+ languages demo. See our <a href='https://ai.facebook.com/blog/multilingual-model-speech-recognition/'>blog post</a> and <a href='https://arxiv.org/abs/2305.13516'>paper</a>.</p>"
71
+ )
72
+ gr.HTML(
73
+ """<center>Click on the appropriate tab to explore Speech-to-text (ASR), Text-to-speech (TTS) and Language identification (LID) demos. </center>"""
74
+ )
75
+ gr.HTML(
76
+ """<center>You can also finetune MMS models on your data using the recipes provides here - <a href='https://huggingface.co/blog/mms_adapters'>ASR</a> <a href='https://github.com/ylacombe/finetune-hf-vits'>TTS</a> </center>"""
77
+ )
78
+ gr.HTML(
79
+ """<center><a href="https://huggingface.co/spaces/facebook/MMS?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank"><img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> for more control and no queue.</center>"""
80
+ )
81
+
82
+ tabbed_interface.render()
83
+ gr.HTML(
84
+ """
85
+ <div class="footer" style="text-align:center">
86
+ <p>
87
+ Model by <a href="https://ai.facebook.com" style="text-decoration: underline;" target="_blank">Meta AI</a> - Gradio Demo by 🤗 Hugging Face
88
+ </p>
89
+ </div>
90
+ """
91
  )
92
 
93
  if __name__ == "__main__":