Plachta commited on
Commit
bb1a0e1
1 Parent(s): 9fa50c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -17,7 +17,10 @@ from text import text_to_sequence
17
  import gradio as gr
18
 
19
  from scipy.io.wavfile import write
20
- LRU_CACHE_CAPACITY = 1
 
 
 
21
 
22
 
23
  def get_text(text, hps):
 
17
  import gradio as gr
18
 
19
  from scipy.io.wavfile import write
20
+ from torch.utils import mkldnn
21
+
22
+ mkldnn.enabled = False
23
+ os.environ['LRU_CACHE_CAPACITY'] = '1'
24
 
25
 
26
  def get_text(text, hps):