Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def predict(prompt, style, audio_file_pth, agree):
|
|
85 |
if prompt_length > 50:
|
86 |
text_hint += f"[ERROR] Text length limited to 50 words for this demo, please try shorter text. You can clone our open-source repo and try for your usage \n"
|
87 |
gr.Warning(
|
88 |
-
"Text length limited to
|
89 |
)
|
90 |
return (
|
91 |
text_hint,
|
|
|
85 |
if prompt_length > 50:
|
86 |
text_hint += f"[ERROR] Text length limited to 50 words for this demo, please try shorter text. You can clone our open-source repo and try for your usage \n"
|
87 |
gr.Warning(
|
88 |
+
"Text length limited to 50 words for this demo, please try shorter text. You can clone our open-source repo for your usage"
|
89 |
)
|
90 |
return (
|
91 |
text_hint,
|