Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def download_synthesis(url):
|
|
38 |
return response.content
|
39 |
|
40 |
|
41 |
-
@functools.
|
42 |
def download_and_process_speech(text, voice, sr):
|
43 |
uuid = start_synthesis(text, voice)
|
44 |
status = "started"
|
|
|
38 |
return response.content
|
39 |
|
40 |
|
41 |
+
@functools.lru_cache(maxsize=100)
|
42 |
def download_and_process_speech(text, voice, sr):
|
43 |
uuid = start_synthesis(text, voice)
|
44 |
status = "started"
|