Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def tts2(text):
|
|
75 |
|
76 |
return str(randsample), (hps.data.sampling_rate, audio)
|
77 |
|
78 |
-
def tts3(text,
|
79 |
if len(text) > 150:
|
80 |
return "Error: Text is too long", None
|
81 |
try:
|
|
|
75 |
|
76 |
return str(randsample), (hps.data.sampling_rate, audio)
|
77 |
|
78 |
+
def tts3(text, emotion):
|
79 |
if len(text) > 150:
|
80 |
return "Error: Text is too long", None
|
81 |
try:
|