From c9b8a0a44686600912de06cc7b911aaae31954a6 Mon Sep 17 00:00:00 2001 From: Plachta Date: Thu, 16 Feb 2023 16:39:34 +0800 Subject: [PATCH] upload files --- requirements.txt | 5 +---- voice_upload.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 975d78a..9bfe243 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,9 +3,7 @@ librosa numpy scipy tensorboard -torch --extra-index-url https://download.pytorch.org/whl/cu116 -torchvision --extra-index-url https://download.pytorch.org/whl/cu116 -torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 +git+https://github.com/openai/whisper.git -q unidecode pyopenjtalk jamo @@ -20,5 +18,4 @@ indic_transliteration==2.3.37 num_thai==0.0.5 opencc==1.1.1 demucs -openai-whisper gradio diff --git a/voice_upload.py b/voice_upload.py index 839002f..d237fa1 100644 --- a/voice_upload.py +++ b/voice_upload.py @@ -8,4 +8,4 @@ if not os.path.exists(upload_path): os.mkdir(upload_path) for filename in uploaded.keys(): #将上传的文件移动到指定的位置上 - shutil.move(os.path.join(basepath, filename), os.path.join(upload_path, filename)) + shutil.move(os.path.join(basepath, filename), os.path.join(upload_path, "custom_character_voice.zip"))