please
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def synthesise2(text):
|
|
43 |
with torch.no_grad():
|
44 |
outputs = model_nld(**inputs)
|
45 |
#speech = outputs.waveform[0]
|
46 |
-
audio_tensor =
|
47 |
# Convert tensor to numpy array
|
48 |
audio_array = audio_tensor.numpy()
|
49 |
# Reshape the audio array to 1D
|
|
|
43 |
with torch.no_grad():
|
44 |
outputs = model_nld(**inputs)
|
45 |
#speech = outputs.waveform[0]
|
46 |
+
audio_tensor = outputs.audio
|
47 |
# Convert tensor to numpy array
|
48 |
audio_array = audio_tensor.numpy()
|
49 |
# Reshape the audio array to 1D
|