Spaces:
Runtime error
Runtime error
Commit
·
927ba81
1
Parent(s):
c1c4823
add print
Browse files
app.py
CHANGED
@@ -105,6 +105,7 @@ def text_to_speech_loc(text):
|
|
105 |
device=device,
|
106 |
)
|
107 |
speech = pipe(text)["audio"]
|
|
|
108 |
audio = sf.write("convert1.wav", speech, samplerate=16000)
|
109 |
|
110 |
return audio
|
|
|
105 |
device=device,
|
106 |
)
|
107 |
speech = pipe(text)["audio"]
|
108 |
+
print("Type of speech: ", type(speech))
|
109 |
audio = sf.write("convert1.wav", speech, samplerate=16000)
|
110 |
|
111 |
return audio
|