juulaii commited on
Commit
933b458
1 Parent(s): ab56270

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,6 +22,7 @@ ui = gr.Parallel(translate, en2es) #allows transcription of Spanish audio
22
  ui.title = "English to Spanish Speech Translator"
23
  ui.description = """<center>A useful tool in translating English to Spanish audio. All pre-trained models are found in huggingface.</center>"""
24
  ui.examples = [['ljspeech.wav'],['ljspeech2.wav',]]
 
25
  ui.theme = "peach"
26
  ui.article = """<h2>Pre-trained model Information</h2>
27
  <h3>Automatic Speech Recognition</h3>
@@ -50,6 +51,5 @@ ui.article = """<h2>Pre-trained model Information</h2>
50
  for Spanish. More information can be seen on their git at
51
  <a href=\"https://github.com/pytorch/fairseq/tree/main/examples/speech_synthesis">speech_synthesis</a>. </p>
52
  """
53
-
54
-
55
  ui.launch(inbrowser=True)
 
22
  ui.title = "English to Spanish Speech Translator"
23
  ui.description = """<center>A useful tool in translating English to Spanish audio. All pre-trained models are found in huggingface.</center>"""
24
  ui.examples = [['ljspeech.wav'],['ljspeech2.wav',]]
25
+ ui.allow_flagging = "never"
26
  ui.theme = "peach"
27
  ui.article = """<h2>Pre-trained model Information</h2>
28
  <h3>Automatic Speech Recognition</h3>
 
51
  for Spanish. More information can be seen on their git at
52
  <a href=\"https://github.com/pytorch/fairseq/tree/main/examples/speech_synthesis">speech_synthesis</a>. </p>
53
  """
54
+
 
55
  ui.launch(inbrowser=True)