Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ def audio_tensor_to_opus_bytes(audio_tensor: torch.Tensor, sample_rate: int = 24
|
|
163 |
g2p = en.G2P(trf=False, british=False, fallback=None) # no transformer, American English
|
164 |
|
165 |
def tokenizer(text):
|
166 |
-
print("Text: " text)
|
167 |
phonemes_string, _ = g2p(text)
|
168 |
phonemes = []
|
169 |
for i in phonemes_string:
|
|
|
163 |
g2p = en.G2P(trf=False, british=False, fallback=None) # no transformer, American English
|
164 |
|
165 |
def tokenizer(text):
|
166 |
+
print("Text: " + text)
|
167 |
phonemes_string, _ = g2p(text)
|
168 |
phonemes = []
|
169 |
for i in phonemes_string:
|