jonathang commited on
Commit
da299f7
1 Parent(s): de7f62c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def download_synthesis(url):
38
  return response.content
39
 
40
 
41
- @functools.cache
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"