radames commited on
Commit
48f39c3
·
verified ·
1 Parent(s): f3eb808

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ MAX_SEED = np.iinfo(np.int32).max
24
  USE_TORCH_COMPILE = os.environ.get("USE_TORCH_COMPILE", "0") == "1"
25
  SPACE_ID = os.environ.get("SPACE_ID", "")
26
  DEV = os.environ.get("DEV", "0") == "1"
27
- os.environ['TOKENIZERS_PARALLELISM'] = "0"
28
 
29
  DB_PATH = Path("/data/cache") if SPACE_ID else Path("./cache")
30
  IMGS_PATH = DB_PATH / "imgs"
 
24
  USE_TORCH_COMPILE = os.environ.get("USE_TORCH_COMPILE", "0") == "1"
25
  SPACE_ID = os.environ.get("SPACE_ID", "")
26
  DEV = os.environ.get("DEV", "0") == "1"
27
+ os.environ['TOKENIZERS_PARALLELISM'] = 'false'
28
 
29
  DB_PATH = Path("/data/cache") if SPACE_ID else Path("./cache")
30
  IMGS_PATH = DB_PATH / "imgs"