Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, req
|
|
62 |
None,
|
63 |
None,
|
64 |
)
|
65 |
-
if len(prompt)>
|
66 |
gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
|
67 |
return (
|
68 |
None,
|
|
|
62 |
None,
|
63 |
None,
|
64 |
)
|
65 |
+
if len(prompt)>100000:
|
66 |
gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
|
67 |
return (
|
68 |
None,
|