Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, req
|
|
| 50 |
None,
|
| 51 |
None,
|
| 52 |
)
|
| 53 |
-
if len(prompt)>
|
| 54 |
gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
|
| 55 |
return (
|
| 56 |
None,
|
|
|
|
| 50 |
None,
|
| 51 |
None,
|
| 52 |
)
|
| 53 |
+
if len(prompt)>50000:
|
| 54 |
gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
|
| 55 |
return (
|
| 56 |
None,
|