PhysHunter commited on
Commit
ee3d3d0
·
1 Parent(s): c6b81be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -33,12 +33,12 @@ def speech_to_speech_translation(audio):
33
  return 16000, synthesised_speech
34
 
35
 
36
- title = "Cascaded STST"
37
- description = """
38
- Demo for cascaded speech-to-speech translation (STST), mapping from source speech in any language to target speech in French. Demo uses OpenAI's [Whisper Base](https://huggingface.co/openai/whisper-base) model for speech translation, and Facebook's
39
- [MMS TTS](https://huggingface.co/facebook/mms-tts) model for text-to-speech:
40
- ![Cascaded STST](https://huggingface.co/datasets/huggingface-course/audio-course-images/resolve/main/s2st_cascaded.png "Diagram of cascaded speech to speech translation")
41
- """
42
 
43
  demo = gr.Blocks()
44
 
 
33
  return 16000, synthesised_speech
34
 
35
 
36
+ # title = "Cascaded STST"
37
+ # description = """
38
+ # Demo for cascaded speech-to-speech translation (STST), mapping from source speech in any language to target speech in French. Demo uses OpenAI's [Whisper Base](https://huggingface.co/openai/whisper-base) model for speech translation, and Facebook's
39
+ # [MMS TTS](https://huggingface.co/facebook/mms-tts) model for text-to-speech:
40
+ # ![Cascaded STST](https://huggingface.co/datasets/huggingface-course/audio-course-images/resolve/main/s2st_cascaded.png "Diagram of cascaded speech to speech translation")
41
+ # """
42
 
43
  demo = gr.Blocks()
44