Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, req
|
|
| 56 |
None,
|
| 57 |
)
|
| 58 |
if len(prompt)>50000:
|
| 59 |
-
gr.Warning("Text length limited to
|
| 60 |
return (
|
| 61 |
None,
|
| 62 |
None,
|
|
|
|
| 56 |
None,
|
| 57 |
)
|
| 58 |
if len(prompt)>50000:
|
| 59 |
+
gr.Warning("Text length limited to 50000 characters for this demo, please try shorter text")
|
| 60 |
return (
|
| 61 |
None,
|
| 62 |
None,
|