doevent commited on
Commit
2a9f004
1 Parent(s): 0ad0138

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
36
  None,
37
  None,
38
  )
39
- if len(prompt)>10000:
40
  gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
41
  return (
42
  None,
 
36
  None,
37
  None,
38
  )
39
+ if len(prompt) > 220:
40
  gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
41
  return (
42
  None,