Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
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):
|