Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ footer {
|
|
71 |
|
72 |
# Functions
|
73 |
def generate(text=DEFAULT_INPUT, voice=DEFAULT_VOICE, speed=1):
|
74 |
-
text = text.strip()[:CHAR_LIMIT] + "."
|
75 |
pipeline = PIPELINES[voice[0]]
|
76 |
pack = VOICE_PACKS[voice]
|
77 |
|
|
|
71 |
|
72 |
# Functions
|
73 |
def generate(text=DEFAULT_INPUT, voice=DEFAULT_VOICE, speed=1):
|
74 |
+
text = text.strip()[:CHAR_LIMIT] + "."
|
75 |
pipeline = PIPELINES[voice[0]]
|
76 |
pack = VOICE_PACKS[voice]
|
77 |
|