add env
This commit is contained in:
parent
c054138f0f
commit
b0ba38c288
9
.env
Normal file
9
.env
Normal 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
|
||||||
|
|
@ -10,8 +10,6 @@ import warnings
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
os.environ["OPENBLAS_NUM_THREADS"] = "1"
|
|
||||||
os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
|
|
||||||
import logging
|
import logging
|
||||||
import threading
|
import threading
|
||||||
from random import shuffle
|
from random import shuffle
|
||||||
|
Loading…
Reference in New Issue
Block a user