Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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'] =
|
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"
|