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"))