Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -6,6 +6,8 @@ import librosa
|
|
| 6 |
from transformers import pipeline
|
| 7 |
import re
|
| 8 |
|
|
|
|
|
|
|
| 9 |
def chunk_text(text, max_chars=135):
|
| 10 |
|
| 11 |
# print(text)
|
|
|
|
| 6 |
from transformers import pipeline
|
| 7 |
import re
|
| 8 |
|
| 9 |
+
_ref_audio_cache = {}
|
| 10 |
+
|
| 11 |
def chunk_text(text, max_chars=135):
|
| 12 |
|
| 13 |
# print(text)
|