Spaces:
Build error
Build error
Commit
·
375faea
1
Parent(s):
594403e
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def generate_audio(
|
|
76 |
speaker,
|
77 |
language,
|
78 |
):
|
79 |
-
if len(text)
|
80 |
return
|
81 |
with torch.no_grad():
|
82 |
if language == 'Auto':
|
|
|
76 |
speaker,
|
77 |
language,
|
78 |
):
|
79 |
+
if len(text)>100:
|
80 |
return
|
81 |
with torch.no_grad():
|
82 |
if language == 'Auto':
|