Spaces:
Runtime error
Runtime error
Update OpenVoice/api.py
Browse files- OpenVoice/api.py +5 -5
OpenVoice/api.py
CHANGED
@@ -2,13 +2,13 @@ import torch
|
|
2 |
import numpy as np
|
3 |
import re
|
4 |
import soundfile
|
5 |
-
|
6 |
-
import commons
|
7 |
import os
|
8 |
import librosa
|
9 |
-
from text import text_to_sequence
|
10 |
-
from mel_processing import spectrogram_torch
|
11 |
-
from models import SynthesizerTrn
|
12 |
|
13 |
|
14 |
class OpenVoiceBaseClass(object):
|
|
|
2 |
import numpy as np
|
3 |
import re
|
4 |
import soundfile
|
5 |
+
import .utils
|
6 |
+
import .commons
|
7 |
import os
|
8 |
import librosa
|
9 |
+
from .text import text_to_sequence
|
10 |
+
from .mel_processing import spectrogram_torch
|
11 |
+
from .models import SynthesizerTrn
|
12 |
|
13 |
|
14 |
class OpenVoiceBaseClass(object):
|