Spaces:
Running
Running
Mahiruoshi
commited on
Commit
•
989f4af
1
Parent(s):
35ea1f5
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ webBase = {
|
|
65 |
|
66 |
languages = [ "Auto", "ZH", "JP"]
|
67 |
modelPaths = []
|
68 |
-
modes = ['pyopenjtalk-V2.3','
|
69 |
sentence_modes = ['sentence','paragraph']
|
70 |
|
71 |
net_g = None
|
@@ -783,8 +783,8 @@ def generate_audio(
|
|
783 |
return file_path
|
784 |
|
785 |
if __name__ == "__main__":
|
786 |
-
download_unidic()
|
787 |
-
tagger = Tagger()
|
788 |
for dirpath, dirnames, filenames in os.walk('Data/BangDream/models/'):
|
789 |
for filename in filenames:
|
790 |
modelPaths.append(os.path.join(dirpath, filename))
|
|
|
65 |
|
66 |
languages = [ "Auto", "ZH", "JP"]
|
67 |
modelPaths = []
|
68 |
+
modes = ['pyopenjtalk-V2.3','pyopenjtalk-V2.3-Katakana']
|
69 |
sentence_modes = ['sentence','paragraph']
|
70 |
|
71 |
net_g = None
|
|
|
783 |
return file_path
|
784 |
|
785 |
if __name__ == "__main__":
|
786 |
+
#download_unidic()
|
787 |
+
#tagger = Tagger()
|
788 |
for dirpath, dirnames, filenames in os.walk('Data/BangDream/models/'):
|
789 |
for filename in filenames:
|
790 |
modelPaths.append(os.path.join(dirpath, filename))
|