Spaces:
Sleeping
Sleeping
Update predict_blend.py
Browse files- predict_blend.py +4 -5
predict_blend.py
CHANGED
|
@@ -5,13 +5,12 @@ from huggingface_hub import snapshot_download
|
|
| 5 |
from pathlib import Path
|
| 6 |
from itertools import product
|
| 7 |
|
| 8 |
-
# =========================
|
| 9 |
-
# Config
|
| 10 |
-
# =========================
|
| 11 |
MODEL_REPO = "Antonio0616/FormingStar"
|
| 12 |
-
MODEL_DIR = snapshot_download(repo_id=MODEL_REPO)
|
| 13 |
-
ART_DIR = str(Path(MODEL_DIR).resolve())
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
CAT_COL = "material"
|
| 16 |
NUM_COLS = ["thickness","diameter","degree","upper_radius","lower_radius","LB","RB"]
|
| 17 |
|
|
|
|
| 5 |
from pathlib import Path
|
| 6 |
from itertools import product
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
MODEL_REPO = "Antonio0616/FormingStar"
|
|
|
|
|
|
|
| 9 |
|
| 10 |
+
# โ
๋ฐ๋์ dataset ์ผ๋ก ๋ช
์ํด์ผ ํจ
|
| 11 |
+
|
| 12 |
+
MODEL_DIR = snapshot_download(repo_id=MODEL_REPO, repo_type="dataset")
|
| 13 |
+
ART_DIR = str(Path(MODEL_DIR).resolve())
|
| 14 |
CAT_COL = "material"
|
| 15 |
NUM_COLS = ["thickness","diameter","degree","upper_radius","lower_radius","LB","RB"]
|
| 16 |
|