Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -11,13 +11,13 @@ from sklearn.metrics import accuracy_score
|
|
| 11 |
|
| 12 |
# Config & Setup
|
| 13 |
## Variables of environment
|
| 14 |
-
DIRPATH = os.path.dirname(__file__)
|
| 15 |
-
ASSETSDIRPATH = os.path.join(DIRPATH, "asset")
|
| 16 |
-
ml_component_pkl = os.path.join(ASSETSDIRPATH, "ml_component.pkl")
|
| 17 |
|
| 18 |
-
print(
|
| 19 |
-
|
| 20 |
-
)
|
| 21 |
|
| 22 |
|
| 23 |
# API Basic config
|
|
|
|
| 11 |
|
| 12 |
# Config & Setup
|
| 13 |
## Variables of environment
|
| 14 |
+
# DIRPATH = os.path.dirname(__file__)
|
| 15 |
+
# ASSETSDIRPATH = os.path.join(DIRPATH, "asset")
|
| 16 |
+
# ml_component_pkl = os.path.join(ASSETSDIRPATH, "ml_component.pkl")
|
| 17 |
|
| 18 |
+
# print(
|
| 19 |
+
# f" {'*'*10} Config {'*'*10}\n INFO: DIRPATH = {DIRPATH} \n INFO: ASSETSDIRPATH = {ASSETSDIRPATH} "
|
| 20 |
+
# )
|
| 21 |
|
| 22 |
|
| 23 |
# API Basic config
|