Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ description = f'''
|
|
13 |
def synthesise(text, speed, progress=gr.Progress()):
|
14 |
if text.strip() == "":
|
15 |
raise gr.Error("You must enter some text")
|
16 |
-
if len(text) >
|
17 |
raise gr.Error("Text must be <50k characters")
|
18 |
print("*** saying ***")
|
19 |
print(text)
|
|
|
13 |
def synthesise(text, speed, progress=gr.Progress()):
|
14 |
if text.strip() == "":
|
15 |
raise gr.Error("You must enter some text")
|
16 |
+
if len(text) > 5000000000:
|
17 |
raise gr.Error("Text must be <50k characters")
|
18 |
print("*** saying ***")
|
19 |
print(text)
|