diff --git a/.env b/.env new file mode 100644 index 0000000..04bf864 --- /dev/null +++ b/.env @@ -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 + diff --git a/infer-web.py b/infer-web.py index 1959ea0..53ab673 100644 --- a/infer-web.py +++ b/infer-web.py @@ -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