andhikagg commited on
Commit
e81d131
·
verified ·
1 Parent(s): bc196ea

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,6 +30,8 @@ from lib.infer_pack.models import (
30
  from vc_infer_pipeline import VC
31
  from config import Config
32
 
 
 
33
  #Eagerload VCs
34
  print("Preloading VCs...")
35
  vcArr=[]
@@ -37,8 +39,6 @@ vcArr.append(VC(32000, config))
37
  vcArr.append(VC(40000, config))
38
  vcArr.append(VC(48000, config))
39
 
40
-
41
- config = Config()
42
  logging.getLogger("numba").setLevel(logging.WARNING)
43
  spaces = True
44
  # os.getenv("SYSTEM") == "spaces"
 
30
  from vc_infer_pipeline import VC
31
  from config import Config
32
 
33
+ config = Config()
34
+
35
  #Eagerload VCs
36
  print("Preloading VCs...")
37
  vcArr=[]
 
39
  vcArr.append(VC(40000, config))
40
  vcArr.append(VC(48000, config))
41
 
 
 
42
  logging.getLogger("numba").setLevel(logging.WARNING)
43
  spaces = True
44
  # os.getenv("SYSTEM") == "spaces"