Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,8 +72,8 @@ def greet(audio, text, voice=None):
|
|
72 |
return output_file, voice
|
73 |
|
74 |
def new_greet(audio, text):
|
75 |
-
print(f"Log print: audio name=[{audio
|
76 |
-
voice.setVoice(audio
|
77 |
wav, sample_rate = voice.say(text)
|
78 |
|
79 |
output_file = "".join( random.sample(string.ascii_lowercase + string.digits, 11) ) + ".wav"
|
|
|
72 |
return output_file, voice
|
73 |
|
74 |
def new_greet(audio, text):
|
75 |
+
print(f"Log print: audio name=[{audio}], text=[{text}]")
|
76 |
+
voice.setVoice(audio)
|
77 |
wav, sample_rate = voice.say(text)
|
78 |
|
79 |
output_file = "".join( random.sample(string.ascii_lowercase + string.digits, 11) ) + ".wav"
|