Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -58,10 +58,6 @@ def speech_to_speech_translation(audio):
|
|
58 |
synthesized_speech = (synthesized_speech.numpy() * max_range).astype(np.int16)
|
59 |
return 16000, synthesized_speech
|
60 |
|
61 |
-
sampling_rate, synthesized_speech = speech_to_speech_translation(sample["audio"])
|
62 |
-
|
63 |
-
Audio(synthesized_speech, rate=sampling_rate)
|
64 |
-
|
65 |
import gradio as gr
|
66 |
|
67 |
demo = gr.Blocks()
|
|
|
58 |
synthesized_speech = (synthesized_speech.numpy() * max_range).astype(np.int16)
|
59 |
return 16000, synthesized_speech
|
60 |
|
|
|
|
|
|
|
|
|
61 |
import gradio as gr
|
62 |
|
63 |
demo = gr.Blocks()
|