From d601a70ad1920cb55444e7181a3cb58d18e18b41 Mon Sep 17 00:00:00 2001 From: Jarod Mica Date: Tue, 29 Oct 2024 03:25:02 -0700 Subject: [PATCH] Revert "." This reverts commit 5089dfe51b619713c4b82f3a2f3c84e576217b59. --- .github/workflows/pre-commit.yaml | 14 ++ .github/workflows/publish-docker-image.yaml | 60 ++++++ .github/workflows/sync-hf.yaml | 18 ++ .gitignore | 173 ++++++++++++++++++ .pre-commit-config.yaml | 14 ++ .../__pycache__/infer_cli.cpython-310.pyc | Bin 4752 -> 0 bytes .../__pycache__/utils_infer.cpython-310.pyc | Bin 8733 -> 0 bytes src/f5_tts/infer/infer_cli.py | 2 +- .../__pycache__/__init__.cpython-310.pyc | Bin 449 -> 0 bytes 9 files changed, 280 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pre-commit.yaml create mode 100644 .github/workflows/publish-docker-image.yaml create mode 100644 .github/workflows/sync-hf.yaml create mode 100644 .gitignore create mode 100644 .pre-commit-config.yaml delete mode 100644 src/f5_tts/infer/__pycache__/infer_cli.cpython-310.pyc delete mode 100644 src/f5_tts/infer/__pycache__/utils_infer.cpython-310.pyc delete mode 100644 src/f5_tts/model/__pycache__/__init__.cpython-310.pyc diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml new file mode 100644 index 0000000..524f04f --- /dev/null +++ b/.github/workflows/pre-commit.yaml @@ -0,0 +1,14 @@ +name: pre-commit + +on: + pull_request: + push: + branches: [main] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/publish-docker-image.yaml b/.github/workflows/publish-docker-image.yaml new file mode 100644 index 0000000..502c149 --- /dev/null +++ b/.github/workflows/publish-docker-image.yaml @@ -0,0 +1,60 @@ +name: Create and publish a Docker image + +# Configures this workflow to run every time a change is pushed to the branch called `release`. +on: + push: + branches: ['main'] + +# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + +# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. +jobs: + build-and-push-image: + runs-on: ubuntu-latest + # Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. + permissions: + contents: read + packages: write + # + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Free Up GitHub Actions Ubuntu Runner Disk Space 🔧 + uses: jlumbroso/free-disk-space@main + with: + # This might remove tools that are actually needed, if set to "true" but frees about 6 GB + tool-cache: false + + # All of these default to true, but feel free to set to "false" if necessary for your workflow + android: true + dotnet: true + haskell: true + large-packages: false + swap-storage: false + docker-images: false + # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. + # It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository. + # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. + - name: Build and push Docker image + uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 + with: + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/sync-hf.yaml b/.github/workflows/sync-hf.yaml new file mode 100644 index 0000000..767d2d8 --- /dev/null +++ b/.github/workflows/sync-hf.yaml @@ -0,0 +1,18 @@ +name: Sync to HF Space + +on: + push: + branches: + - main + +jobs: + trigger_curl: + runs-on: ubuntu-latest + + steps: + - name: Send cURL POST request + run: | + curl -X POST https://mrfakename-sync-f5.hf.space/gradio_api/call/refresh \ + -s \ + -H "Content-Type: application/json" \ + -d "{\"data\": [\"${{ secrets.REFRESH_PASSWORD }}\"]}" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b794c56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,173 @@ +# Customed +.vscode/ +tests/ +runs/ +data/ +ckpts/ +wandb/ +results/ + + + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/latest/usage/project/#working-with-version-control +.pdm.toml +.pdm-python +.pdm-build/ + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..9ac5ee1 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.7.0 + hooks: + # Run the linter. + - id: ruff + args: [--fix] + # Run the formatter. + - id: ruff-format + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: check-yaml diff --git a/src/f5_tts/infer/__pycache__/infer_cli.cpython-310.pyc b/src/f5_tts/infer/__pycache__/infer_cli.cpython-310.pyc deleted file mode 100644 index 894daba0de2bdccee53e346faa03d8f03a383b47..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4752 zcma)9-ESMm5x+YgzfP1yQL-$>aeT3z$h1w;ACW&4JN}FlH;v=^BW^BouP5%3I+@2~ z_KvcBI06CGSEG4P14xhUf6$_D{Rdj0Plvt~4T}0Lk8RpC{mmXFF-8i6#Lmvn&d$!x z&dkpFc-@kriw)^vn@;4fc{)!k}Mhhl%MPUk4JBpR|s-?=YW@)m|SQ+$MNB6Q; zRwbTHC+Fp@yu{T`!755V!y1!)$tt1OJLBHCH7(0I7&{J1ZG=*14eX>1Wt?Cq*(r8!GC zW%APItNb80*AB6>8`_p?9Rhw>{E=Wc!w<1@^NMvCqu1EMM;Y-K!X*7X=&xb)y7)Um zNm~N#b&M9oR|F;PP0$wD1%7y4`AiiVzJJ@6{P5?>mb#%@hcUY#XDcJK3&Yt3c99>F zvlpPv#d+nr^3b%7q&Pn^uSgB6kWrOfOCvI>sf@2c#oRRdNBrAxh})PXfXc}%@r zc?~NY7@e?A@GL*Jp|b1y6ze2=+d9Q7pr7Wa*o|kJ^#(uA-g%^9?eF-cwaCw~ciBz$ zBlaHqF?*lgdX}@!@*2A;IeyFDvCgp%tn=))MW-KUKjG&-SJ)kX9`G(-0=)M{euHdX z>mG&V`*PivygZcrAtb-g9z4@Wq<+cnL+Vd|m{k5I`-mUMKGqkR4Hf=3%@;W|pi|ir$8Tz;QC1yhdO=S678ww&*y(?Sw=g%oq+^VXHe%lFG(Pvw3hX+8$ znoe_-GrLE0Ey-MW?|E}RhCK6cilncmZI)$g7*<-%IC zt?G&9_fAZY-Mj?%g#XyWy&Ng{?b~%*?A!*jzPl zr)s&~c0Iawx5t}q>#6DYLf7vGrn3TF%+NQ{3E?ts`VbG9o-eo=@G!)>z-$TMGn;<5 z<+kh9Or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mL&- zz=cA|My6;4qS;8xi$zb~X zR2@`;#6fr&_=KdD(9hAFW~e3EFh{+5@Zb8^;-?VZMElM!kCDt%l!HShL?nipP!F?V zZX=g^dsV$v&CAuhSCyKo$UVoFH#KrgbOLFN6g;5eNq|3~1(e@sRXI)ywk?luS1%_8 zN3?s62srsA!=v~zQBVfGBlIz_PyRyagp#M zX1a`CL2+HqQK9DwdQ_59dLQ*v@hnIpNA$TNUEWZ=AG)2umbf4z3Cid)T4W$d=S?QA zh<2Y`>o(~wlAJt)NJl%8)>j3)*Dq?cl;B0-4Hmouc@M+C?xcf5fX*!GC; zNLL~UN(vWnTm24yi&A6oPk@3#;X$EL8iqXHitl+QH=~5_0X;iXsY_BIjy43;$OiZ nI$=iFCNx9WC7%urbnt1P8W~-#*`|~;2=7ecw4ocS{_Xz&wR=KN diff --git a/src/f5_tts/infer/__pycache__/utils_infer.cpython-310.pyc b/src/f5_tts/infer/__pycache__/utils_infer.cpython-310.pyc deleted file mode 100644 index dcb1b27bc7189604c12b4cb300524bcb383f48c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8733 zcmb7JTZ|l6TCQ7HS65%A=i(X9#h&ur?btoB9Vc0@H`yqWdC3m2HVNAs)2iuH-CZ+% z^Qr0?dvsc4cd`Njvx!(hOLk3qAiEG?0U?AI5edY;@xUwSNc({Hg^`d9EFcsh;rmZb zkH?b*g=+PwbHD!Q`@jFMZa(j7c>d#o*Z9+?HSGtKIQUTMXYr4|t!o<7nBLMV$y=}J zDs5B@yp5LGwknpMl%*=EAT_j^xufspq}xsm3iRZg>F`3JTo31>;^vXqcnH^=bZ|IdvY>v$bUfpC1>=@Ezru$1s>+CpNMEXf~g`Hq0 z5xb0f=a`2wi=ASpk#hy9tE%l8b{6TUkSYXcg0sQ-pcGsPo(L|Y)Me+`d6ZrY3arS+ z*(94{C3b=7Os{9y6YL_&o@SR=`3qdx}FW&qd8s!^7T#dVHK_}b{ zxSXzaJL>_DtF@-jkzeh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zwldQpcY(^CIH2>A#bGU~Ceiwq54EQ%k5Z1(j@>@KcBvS){D9hI)%|*%U?Uk}3cf6` z=>U%5M_Y7Ai*TYLmq~ZLj)*fxZro|*3nIUdlTas>GY#uI@e@tx1+$)o*msI6x6m|KuYF}Vem z9{LGHMwAJdZ>)kYkpo$29}AR6TeZkmhiz^O!X}$O00;|KoOyRzn6T}1I8Q--$azX% zTN7%thJJYqLHMuO3Erk8A{xI-K}11}pkyn~&c8$%G%@~V3brU9k0E*2iM84ZH$ImT;v<%#9JL?za>>}up^sfMP=H!#eDP3r zRI1h8fH%q_*F0IfWFbHbZC{BOJ~o-X7GMn3`}jO%hix(wq*Lp*x_rgwz!Y3ql*&}C z)r|slkv$-o(o&wOGZ-}4C~^YB9zvUg^83fMCj@lFacD2`g#&j#17EUQ{tCXp(2LV|X#Q6e ze2)S`Z%!c1{~Q5TV*QmwJm?@~?tuR;O1?P|$c{ebsE=o5<>FEvI60AcCX=kP`kt2f z=M<*@A~nsbe)0LnU-v^y3H~-`#joLOHj6kNn4*$=iDIu(KwiB>9Xz6;0p8q1k(e!?p*8m}D0o+R%6i*fmIuKPnL&gK6H DEF?64 diff --git a/src/f5_tts/infer/infer_cli.py b/src/f5_tts/infer/infer_cli.py index cd2a3dd..f33cedf 100644 --- a/src/f5_tts/infer/infer_cli.py +++ b/src/f5_tts/infer/infer_cli.py @@ -141,7 +141,7 @@ print(f"Using {model}...") ema_model = load_model(model_cls, model_cfg, ckpt_file, vocab_file) -def main_process(ref_audio, ref_text, text_gen, model_obj, remove_silence, speed, output_dir, wave_path): +def main_process(ref_audio, ref_text, text_gen, model_obj, remove_silence, speed): main_voice = {"ref_audio": ref_audio, "ref_text": ref_text} if "voices" not in config: voices = {"main": main_voice} diff --git a/src/f5_tts/model/__pycache__/__init__.cpython-310.pyc b/src/f5_tts/model/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 4e7c6558eb0152e340a704db81ebddf4b55d2e37..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 449 zcmZ`$u};G<5VhktNlPLzFd+ukNGP7VA%p~~Skk3o$zr9kTLtW-a@>KBVPWH!yfX0z zhzZ+S=+LwL?%nD1?pYqPYz}PvykGA!2*8&s{zqVodwa(x3k)zQfP^)Kjt3%;s79V6 z5lUQR&qEQ(xQ;!?B9XIt2Eh)n=mXYs7Oz2`d|Ne;LxUccrA_#G#dYQC$Ic~OmJ^99 z)pR{qIabbzLJmR)*g<4rm7kgO?Sg7O7II)*6zx{}X>)bd-Zbs&X6X4?9D1&`*D{wU zMp&o)o|76