Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
7b5efb9
1
Parent(s):
293f3ab
Update train_model.py
Browse files
src/models/train_model.py
CHANGED
@@ -41,7 +41,7 @@ def train_model():
|
|
41 |
model_type=params["model_type"], model_name=params["model_name"]
|
42 |
data = json.load(json_file)
|
43 |
|
44 |
-
with open(
|
45 |
json.dump(data, fp)
|
46 |
|
47 |
|
|
|
41 |
model_type=params["model_type"], model_name=params["model_name"]
|
42 |
data = json.load(json_file)
|
43 |
|
44 |
+
with open("reports/training_metrics.txt", "w") as fp:
|
45 |
json.dump(data, fp)
|
46 |
|
47 |
|