Barani1-t commited on
Commit
a608059
1 Parent(s): 5aa8aa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def speech_to_speech_translation(audio):
47
  synthesised_speech = (synthesised_speech.numpy() * max_range).astype(np.int16)
48
  print("sampling_rate",sampling_rate)
49
  print("synthesised_speech",synthesised_speech)
50
- return sampling_rate, synthesised_speech
51
 
52
 
53
  title = "Cascaded STST"
 
47
  synthesised_speech = (synthesised_speech.numpy() * max_range).astype(np.int16)
48
  print("sampling_rate",sampling_rate)
49
  print("synthesised_speech",synthesised_speech)
50
+ return sampling_rate, synthesised_speech.T
51
 
52
 
53
  title = "Cascaded STST"