Bump Gradio and pyworld version

This commit is contained in:
litagin
2023-07-21 21:17:54 +09:00
parent f07b78f046
commit 4df5b53437
3 changed files with 20 additions and 9 deletions

View File

@@ -61,6 +61,14 @@ venv\Scripts\activate
python app.py
```
## Update
```bash
git pull
venv\Scripts\activate
pip install -r requirements.txt --upgrade
```
## Troubleshooting
```

16
app.py
View File

@@ -42,11 +42,6 @@ models = [
if len(models) == 0:
raise ValueError("No model found in `weights` folder")
models.sort()
hubert_model = None
print("Loading rmvpe model...")
rmvpe_model = RMVPE("rmvpe.pt", config.is_half, config.device)
print("rmvpe model loaded.")
def model_data(model_name):
@@ -115,7 +110,16 @@ def load_hubert():
hubert_model = hubert_model.half()
else:
hubert_model = hubert_model.float()
hubert_model.eval()
return hubert_model.eval()
print("Loading hubert model...")
hubert_model = load_hubert()
print("Hubert model loaded.")
print("Loading rmvpe model...")
rmvpe_model = RMVPE("rmvpe.pt", config.is_half, config.device)
print("rmvpe model loaded.")
def tts(

View File

@@ -1,10 +1,9 @@
edge_tts==6.1.7
fairseq==0.12.2
faiss_cpu==1.7.4
gradio==3.36.1
gradio_client==0.2.9
gradio==3.38.0
librosa==0.9.1
numpy==1.23.5
praat-parselmouth==0.4.3
pyworld==0.3.3
pyworld==0.3.4
torchcrepe==0.0.20