diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..5e6b43d39fa196225ece9addba1e49d7cdf88889 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,63 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +data/models/hf_cache/models--suno--bark/blobs/286abc253d4d7f4d148325df07585f7ca4fca36ce40577a1ddd744a8b35e4388 filter=lfs diff=lfs merge=lfs -text +data/models/hf_cache/models--suno--bark/blobs/799c87afab4b01537094c63ea231f2c42c9c07aeb16773690540ad251a6d8fab filter=lfs diff=lfs merge=lfs -text +data/models/hf_cache/models--suno--bark/blobs/ccdedd35373bc3a16845f1f1452c5c96926f5cbccab01e824f7f15add2c16a35 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/0/7/5/b/a/075ba67a4562aec1cd8bfbf203a5264ec220cf0295cac46c98b443eb filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/1/4/4/2/4/14424eefcb8f6ef74ea47dfc3bc9ec36400668525a3e19cea311bec9 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/1/b/9/4/6/1b94656e9507ace84a01f016ea8056e947ab5866013cc7756bc7c677 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/2/1/7/6/a/2176ac2069f9bdf44fbcff7c22e292efc87b8d03315b81dfed5fec41 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/2/6/8/2/5/2682520cbb9f4463541a2bad019f08e3359980857f5eeaf0ab923b65 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/2/7/7/1/0/2771078a12ca48277667188e5dc941835fa203ffc3ee7b13a0b7e17f filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/2/8/9/6/8/28968f65141c5f6c178aa08235de8841d5ae7c75bd4e53668bb923ff filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/2/9/3/6/4/29364aa1936364d8c515172d5577bc53afa5203e018d71abb591b165 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/3/5/9/6/a/3596afd016f77672204e7e6b87ae019597d769826f7d49e348922339 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/3/9/a/e/6/39ae6aa825aebb75b0193714975cbc9defffa90203c5342f2214137e filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/3/c/a/1/5/3ca15bd8da033ad3b9825d285261c1c197c0cf1679f096c5b7efa410 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/3/c/e/f/9/3cef90e2f33f3b9a1b50e02cc0736e09cc97714cb8b1101d706d912d filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/3/f/d/a/a/3fdaaebf6529f1d207d59a85b28de56aa60510959205dc5ba5ace33b filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/4/8/5/4/e/4854e629f0a37cfe4deef480af4404d6cd6775b7bd9f6a4609ace692 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/4/e/c/6/1/4ec61ede633a2e6300104d0a3ba0dd102f75c9a4a82141f98af245cb filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/5/1/f/5/9/51f599083bccdefe73a322da245355b45f25439a04b126d8ed8b5271 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/5/4/a/7/d/54a7d60af9e4b29026d9a24e024cfcd39d35cc6f2dba4f2da4b7e6df filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/6/1/1/5/f/6115f2f7d9ed2cee0978a9a24fcf143eff1678f8e2775d18e73f69d8 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/6/6/0/a/b/660abb6906034a2c04e1dc1ef4c076314875a28ccb09c05f83b14940 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/6/6/b/d/3/66bd3b1ed7e3320df59d743cc536a749b9efa31a0140c321ddcd9016 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/6/a/4/0/8/6a4080fe21f87b0661722442b87c4f81fd34703be9e64c995cf5ed9e filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/6/e/f/7/a/6ef7ae373253a3997ffc8ac7b70e67716f79d6365ffa5c28f40f349a filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/7/4/0/8/8/740888090330b0dd7a2cf5dad2cb6e22a5d40cf4b894416c973d3fb6 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/7/e/2/0/f/7e20f67205460c2990dc3d43525f043c513381bcfe256dfd8072b3b3 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/8/2/f/c/c/82fcc15ad064649546d523c049b5ebe016d9ae1b5a7fb7b32fce7512 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/8/7/4/7/1/87471198cb7fc632cfcd6811310d8da1de7f956b049844a9c0ba89ec filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/8/b/0/a/5/8b0a5aaa108b548edc8b98ac2f2996e90c07a2a43f01eb17b0a33c4b filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/8/c/4/5/a/8c45a6fce8e3d1e5257df554670605066211bf217d024f9155c6dce0 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/9/3/0/5/a/9305a9e52d32a90517dc3735658e0b7b86b46239fd457b2063368d09 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/9/8/5/2/c/9852c838b20700b7a678c6592e1c0f504548d03119f0931a00b3ee6b filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/9/b/b/e/1/9bbe13cfe687c04579dc00a02b2a2fdf11dc9b393de3cc51f0314eb1 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/0/0/3/8/a00381c87f796f6ce8bdeee1acd93b76fb1c6be79d1cb69f972a32b2 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/0/d/4/0/a0d40c220f742bd2f9042dba1847df31cc5ab321f6ed63375e947616 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/1/3/8/8/a1388c096310fd179ee5e0d689593630995afc389ad8dbba9e01ee03 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/1/a/e/7/a1ae72d7adee6483a188def9035ea946d84fa766cf0b0c8a8d30f33f filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/2/c/a/a/a2caa3bc06584f4ee6212d9b1bb6166e7fccbf2b144d7837db757f0a filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/4/2/6/d/a426d2941da17ff20a30fa4d99d854b021950160cb9960a185aceff4 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/7/8/0/3/a7803f03ea53af03e3fa238b4e4e3d4850ed940522435f1303913537 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/e/b/3/0/aeb30ec47cb8633122c512ba57e7c8f046a5f5ed100719081621b4dd filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/a/f/e/a/1/afea1a7eff3c00182657b212005ed7558c9374d83e659aed56860438 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/b/8/9/4/b/b894b7659556274f6eb8a1be579ff8fcf7c95016250d2ed154fbce47 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/b/c/4/4/7/bc4470adfa6fe6b0db4a67ed43d7646583d36f21b726867c57f32cc8 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/b/e/4/8/c/be48c6af34ce9a2c153618ab623be22a96ef71c547ea2621dbcd141a filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/d/5/a/a/c/d5aac533cd4613d228ab51ef8d01a40d382a503d4ebff4fdd760bd07 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/d/d/8/8/4/dd884c1d55d2bfa13200f58081e79f3f708e7f1df45f78c917300cd7 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/e/3/f/1/8/e3f1801eaa4f04fc6d082ba99a3e351394ad65f9d8c82b74cdd14a94 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/e/a/1/e/9/ea1e9be74162a87b2e3b013e944985c7fe51408cfe2fb6c04a95d990 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/e/b/8/2/9/eb8291b7f855024d609d9fd318d3ca01eda8b2e32a9a7f1fb17b5b4c filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/f/4/b/8/e/f4b8efa9a40587bed0d140dba7696d65c84b6a6d55da1b422d425960 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/f/d/c/4/2/fdc4280c998c3e3465da9a6c73e73126e1dd28159cf27c4e9d0ea2b6 filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/f/d/f/e/c/fdfec62244354ad1b10fc38f33bb5f3e29e1b99389b0a2ca60b63b3e filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/http/f/e/a/7/1/fea715519d99e2a4c061e92635c062af11b4c51ffdca56fe04ec5a8b filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/wheels/8d/36/89/e188602a40bc980fcf31b8a5702cae393fe1f5a7ee93024097/diffusers-0.21.0.dev0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/wheels/e4/35/55/9c66f65ec7c83fd6fbc2b9502a0ac81b2448a1196159dacc32/fairseq-0.12.2-cp310-cp310-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/pip/wheels/fb/9e/68/4403e73d278584358e6036aae74a93ab7250d84d67b624f665/suno_bark-0.0.1a0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text +data/models/unclassified/torch/hub/checkpoints/encodec_24khz-d7cc33bc.th filter=lfs diff=lfs merge=lfs -text +data/temp/e0864a6318cb09dbfb55dea3434163dfeadec551/to_clone.wav filter=lfs diff=lfs merge=lfs -text diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000000000000000000000000000000000000..9b7b0a52b37b264f7afb011dc1bc67ed02c0e1d1 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: [gitmylo] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000000000000000000000000000000000..9605e68c69850604798849f9739958ce17941535 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Report a bug, or another issue +title: "[BUG REPORT] " +labels: bug +assignees: gitmylo + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000000000000000000000000000000000..7e1f3e0c542964279c661c71c4a1ae0fdf7d28e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Request a new feature +title: "[FEATURE REQUEST] " +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000000000000000000000000000000000000..35b56adbe9a1ae2e2f6672d7e96be0d1ee2b4e88 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,11 @@ +--- +name: Question +about: Ask a question +title: "[QUESTION] " +labels: user question +assignees: '' + +--- + +# Question title (e.g. Where do I download RVC models?) +question content goes here diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..7e5fda42a2c536dd41d9c04e314ec42cef82080d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +data/** +!**/.placeholder +*.wav +./extensions/** +venv/** +*.pyc diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000000000000000000000000000000000..08c4ca0455dc9776d552b249fb3125ea756ecbd3 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,4 @@ +# Contributing +You can contribute code changes by making a [pull request](https://github.com/gitmylo/audio-webui/pulls) + +You can also request new features or report bugs by making an [issue](https://github.com/gitmylo/audio-webui/issues) diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..b8c840f840856d53ff96d7fe159b58bbff4f221f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Mylo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 8deffae77a9e06c2c46f50faf32e5f4f7d91bc35..c86e17922440d0a33fb57b7ed9119dc10321efc1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,6 @@ --- -title: Audio Webui -emoji: 👀 -colorFrom: purple -colorTo: red +title: audio-webui +app_file: /content/audio-webui/webui/webui.py sdk: gradio -sdk_version: 4.21.0 -app_file: app.py -pinned: false +sdk_version: 3.49.0 --- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference diff --git a/__pycache__/install.cpython-310.pyc b/__pycache__/install.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..026b0499209318510c186dba3fa7ce599f2db75c Binary files /dev/null and b/__pycache__/install.cpython-310.pyc differ diff --git a/activate_only.bat b/activate_only.bat new file mode 100644 index 0000000000000000000000000000000000000000..bb1a06cc8d9555b2548af1eeb9b096033c338638 --- /dev/null +++ b/activate_only.bat @@ -0,0 +1 @@ +start venv\Scripts\activate.bat \ No newline at end of file diff --git a/activate_only.sh b/activate_only.sh new file mode 100644 index 0000000000000000000000000000000000000000..ddd7e91da76a1b1124138a0f66b629b0ba74e273 --- /dev/null +++ b/activate_only.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +source venv/bin/activate diff --git a/assets/logo.png b/assets/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..56583a3bac163abead1850d33e5cbfd0df1c0338 Binary files /dev/null and b/assets/logo.png differ diff --git a/audio_webui_colab.ipynb b/audio_webui_colab.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..b9eb7254d939421539ef52318d9ab6530afb10f7 --- /dev/null +++ b/audio_webui_colab.ipynb @@ -0,0 +1,98 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "private_outputs": true, + "provenance": [], + "gpuType": "T4" + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + }, + "accelerator": "GPU" + }, + "cells": [ + { + "cell_type": "markdown", + "source": [ + "## Before running\n", + "1. click on \"`Runtime`\".\n", + "2. click on \"`Change runtime type`\".\n", + "3. set \"`Hardware accelerator`\" to \"`GPU`\".\n", + "4. click on \"`save`\"." + ], + "metadata": { + "id": "sdEMR6I1E8F3" + } + }, + { + "cell_type": "code", + "source": [ + "# @title Activate audio (prevents automatic shutdown) { display-mode: \"form\" }\n", + "%%html\n", + "