upload files

This commit is contained in:
Plachta
2023-02-16 16:39:34 +08:00
parent 5031a30f1e
commit c9b8a0a446
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -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
+1 -1
View File
@@ -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"))