Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def speech_to_speech_translation(audio,voice_preset="v2/zh_speaker_1"):
|
|
34 |
synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
|
35 |
return (synthesised_rate , synthesised_speech.T),translated_text,label_outputs
|
36 |
|
37 |
-
title = "
|
38 |
description = """
|
39 |
Demo for cascaded speech-to-speech translation (STST), mapping from source speech in Multilanguage to target speech in Chinese(mandarin). Demo uses OpenAI's [Whisper arge-v2](https://huggingface.co/openai/whisper-large-v2) model for speech translation, and a suno/bark[bark-small](https://huggingface.co/suno/bark) model for text-to-speech:
|
40 |

|
|
|
34 |
synthesised_speech = (synthesised_speech.numpy() * 32767).astype(np.int16)
|
35 |
return (synthesised_rate , synthesised_speech.T),translated_text,label_outputs
|
36 |
|
37 |
+
title = "外国话转中文话"
|
38 |
description = """
|
39 |
Demo for cascaded speech-to-speech translation (STST), mapping from source speech in Multilanguage to target speech in Chinese(mandarin). Demo uses OpenAI's [Whisper arge-v2](https://huggingface.co/openai/whisper-large-v2) model for speech translation, and a suno/bark[bark-small](https://huggingface.co/suno/bark) model for text-to-speech:
|
40 |

|