fix import
Browse files- .gitignore +2 -0
- app.py +1 -1
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
.venv
|
2 |
+
__pycache__
|
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import tempfile
|
2 |
from typing import Optional
|
3 |
from TTS.config import load_config
|
@@ -7,7 +8,6 @@ import os
|
|
7 |
import json
|
8 |
from TTS.utils.manage import ModelManager
|
9 |
from TTS.utils.synthesizer import Synthesizer
|
10 |
-
from .engine import Piper
|
11 |
|
12 |
MAX_TXT_LEN = 100
|
13 |
|
|
|
1 |
+
from engine import Piper
|
2 |
import tempfile
|
3 |
from typing import Optional
|
4 |
from TTS.config import load_config
|
|
|
8 |
import json
|
9 |
from TTS.utils.manage import ModelManager
|
10 |
from TTS.utils.synthesizer import Synthesizer
|
|
|
11 |
|
12 |
MAX_TXT_LEN = 100
|
13 |
|