Jaward commited on
Commit
44915e6
·
verified ·
1 Parent(s): d0fbb2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,10 +22,10 @@ engines = { default_lang: Model(default_lang) }
22
  LANGUAGE_CODES = {
23
  "English": "eng",
24
  "Spanish": "spa",
 
25
  "French": "fra",
26
  "German": "deu",
27
- "Italian": "ita",
28
- "Chinese": "cmn"
29
  }
30
 
31
  def transcribe(audio):
@@ -181,7 +181,7 @@ def clear_history():
181
 
182
  with gr.Blocks(css="style.css") as demo:
183
  gr.Markdown("# <center><b>Optimus Prime: Your Personal AI Voice Assistant with Speech Translation</b></center>")
184
- gr.Markdown("### <center><b>For speech translation, start with the phrase 'Please translate' followed by the speech you want to translate</b></center>")
185
 
186
  with gr.Row():
187
  with gr.Column(scale=1):
 
22
  LANGUAGE_CODES = {
23
  "English": "eng",
24
  "Spanish": "spa",
25
+ "Chinese": "cmn",
26
  "French": "fra",
27
  "German": "deu",
28
+ "Italian": "ita"
 
29
  }
30
 
31
  def transcribe(audio):
 
181
 
182
  with gr.Blocks(css="style.css") as demo:
183
  gr.Markdown("# <center><b>Optimus Prime: Your Personal AI Voice Assistant with Speech Translation</b></center>")
184
+ gr.Markdown("## <center><b>For speech translation, start with the phrase 'Please translate' followed by the speech you want to translate</b></center>")
185
 
186
  with gr.Row():
187
  with gr.Column(scale=1):