Mahiruoshi commited on
Commit
375faea
1 Parent(s): 594403e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def generate_audio(
76
  speaker,
77
  language,
78
  ):
79
- if len(text) < 2||len(text)>100:
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':