1
0
mirror of synced 2024-11-12 01:40:51 +01:00
This commit is contained in:
Ftps 2023-08-19 22:50:24 +09:00
parent c054138f0f
commit b0ba38c288
2 changed files with 9 additions and 2 deletions

9
.env Normal file
View File

@ -0,0 +1,9 @@
OPENBLAS_NUM_THREADS = 1
no_proxy = localhost, 127.0.0.1, ::1
# You can change the location of the model, etc. by changing here
weight_root = assets/weights
weight_uvr5_root = assets/uvr5_weights
index_root = output
TEMP = tmp

View File

@ -10,8 +10,6 @@ import warnings
import numpy as np
import torch
os.environ["OPENBLAS_NUM_THREADS"] = "1"
os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
import logging
import threading
from random import shuffle