Spaces:
Paused
Paused
Update app.py
Browse files
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)>
|
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,
|