Bolakubus commited on
Commit
64d038e
·
1 Parent(s): eb57fd9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
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()