Spaces:
Sleeping
Sleeping
h3110Fr13nd
commited on
Commit
•
918a6e7
1
Parent(s):
c88dc9f
Update src/kidney_classification/__init__.py
Browse files
src/kidney_classification/__init__.py
CHANGED
@@ -7,7 +7,7 @@ logging_str = "[%(asctime)s: %(levelname)s: %(module)s %(message)s]"
|
|
7 |
__name__ = "kidney_classification"
|
8 |
log_dir = "logs"
|
9 |
log_filepath = os.path.join(log_dir, "running_logs.log")
|
10 |
-
|
11 |
|
12 |
logging.basicConfig(
|
13 |
level=logging.INFO,
|
|
|
7 |
__name__ = "kidney_classification"
|
8 |
log_dir = "logs"
|
9 |
log_filepath = os.path.join(log_dir, "running_logs.log")
|
10 |
+
os.makedirs(log_dir, exist_ok=True)
|
11 |
|
12 |
logging.basicConfig(
|
13 |
level=logging.INFO,
|