Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
·
5b34d4f
1
Parent(s):
119d693
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ import json
|
|
23 |
import gc
|
24 |
import random
|
25 |
from time import sleep
|
|
|
|
|
26 |
|
27 |
IMAGE_DATASET_DIR = Path("image_dataset") / f"train-{uuid4()}"
|
28 |
IMAGE_DATASET_DIR.mkdir(parents=True, exist_ok=True)
|
|
|
23 |
import gc
|
24 |
import random
|
25 |
from time import sleep
|
26 |
+
from pathlib import Path
|
27 |
+
from uuid import uuid4
|
28 |
|
29 |
IMAGE_DATASET_DIR = Path("image_dataset") / f"train-{uuid4()}"
|
30 |
IMAGE_DATASET_DIR.mkdir(parents=True, exist_ok=True)
|