Skip to content

Commit

Permalink
更改为使用task.toml来使用vits
Browse files Browse the repository at this point in the history
  • Loading branch information
NGLSG committed Apr 22, 2023
1 parent bf743ff commit f725c8a
Show file tree
Hide file tree
Showing 16 changed files with 212 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/MoeGoe.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions MoeGoe.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Metadata-Version: 2.1
Name: MoeGoe
Version: 1.0
License-File: LICENSE
20 changes: 20 additions & 0 deletions MoeGoe.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
LICENSE
README.md
setup.py
MoeGoe.egg-info/PKG-INFO
MoeGoe.egg-info/SOURCES.txt
MoeGoe.egg-info/dependency_links.txt
MoeGoe.egg-info/entry_points.txt
MoeGoe.egg-info/requires.txt
MoeGoe.egg-info/top_level.txt
text/__init__.py
text/cantonese.py
text/cleaners.py
text/english.py
text/japanese.py
text/korean.py
text/mandarin.py
text/ngu_dialect.py
text/sanskrit.py
text/shanghainese.py
text/thai.py
1 change: 1 addition & 0 deletions MoeGoe.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions MoeGoe.egg-info/entry_points.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[console_scripts]
moegoe = MoeGoe.__main__:main
23 changes: 23 additions & 0 deletions MoeGoe.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
numba
librosa
numpy==1.23
flask_cors
flask
jsonify
scipy
torch
unidecode
openjtalk>=0.3.0.dev2
jamo
pypinyin
jieba
protobuf
cn2an
inflect
eng_to_ipa
ko_pron
indic_transliteration
num_thai
opencc
audonnx
python-dotenv
1 change: 1 addition & 0 deletions MoeGoe.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
text
50 changes: 50 additions & 0 deletions VitsConvertor.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
['MoeGoe.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=['extra-hooks'],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='VitsConvertor',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='VitsConvertor',
)
2 changes: 2 additions & 0 deletions extra-hooks/hook-librosa.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from PyInstaller.utils.hooks import collect_data_files
datas = collect_data_files('librosa')
41 changes: 41 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
from setuptools import setup, find_packages

setup(
name='MoeGoe',
version='1.0',
packages=find_packages(),
install_requires=[
'numba',
'librosa',
'numpy==1.23',
'flask_cors',
'flask',
'jsonify',
'scipy',
'torch',
'unidecode',
'openjtalk>=0.3.0.dev2',
'jamo',
'pypinyin',
'jieba',
'protobuf',
'cn2an',
'inflect',
'eng_to_ipa',
'ko_pron',
'indic_transliteration',
'num_thai',
'opencc',
'audonnx',
'python-dotenv'
],
entry_points={
'console_scripts': [
'moegoe = MoeGoe.__main__:main'
]
},
include_package_data=True,
package_data={
'MoeGoe': ['*.yaml']
}
)

0 comments on commit f725c8a

Please sign in to comment.