Commit c3cc3f77 by ‘chizw’

[+]subfix

1 parent 24da46fb
Showing 36 changed files with 6 additions and 6 deletions
......@@ -8,7 +8,7 @@ import pkg_resources
from shutil import rmtree
from setuptools import find_packages, setup, Command
NAME = 'subfix'
NAME = 'funasr_web'
DESCRIPTION = 'A tool to read dataset and crate dataset to train TTS.'
URL = 'https://github.com/cronrpc/SubFix'
EMAIL = 'cronrpc'
......@@ -43,7 +43,7 @@ setup(
+ [
str(r)
for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
open(os.path.join(os.path.dirname(__file__), "subfix/requirements.txt"))
)
],
entry_points={
......
import argparse
import os
# from utils import finetune
def handle_diarization(args):
print(f"handle_diarization from {args.source_dir} to {args.target_dir}")
......@@ -55,7 +53,8 @@ def handle_generate(args):
print(f"Checkout command with args: {args}")
if args.env != 'None':
os.environ.update({"env": args.env})
# finetune.startGenerate(args)
from utils.finetune import startGenerate
startGenerate(args)
def cli():
......
......@@ -293,7 +293,6 @@ def set_global(load_json, load_list, json_key_text, json_key_path, batch, webui_
b_load_file()
def startwebui(args):
set_global(args.load_json, args.load_list, args.json_key_text, args.json_key_path, args.g_batch, args.webui_language,
......
......@@ -171,4 +171,6 @@ for id in list:
pass
def startGenerate(args):
print(1111)
print(args)
pass
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!