From 2a433da77ff2c1aca0632659082d606093519cfa Mon Sep 17 00:00:00 2001 From: heartmarshall Date: Mon, 25 Dec 2023 15:49:09 +0300 Subject: [PATCH 1/6] task done --- client/templates/main.html | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/client/templates/main.html b/client/templates/main.html index fa97f20..11ae549 100644 --- a/client/templates/main.html +++ b/client/templates/main.html @@ -308,7 +308,7 @@

-
Coming soon!
+
No metrics yet
+ + + + diff --git a/py_server/mlcraft/server.py b/py_server/mlcraft/server.py index 3441c36..b353cde 100644 --- a/py_server/mlcraft/server.py +++ b/py_server/mlcraft/server.py @@ -270,7 +270,6 @@ def get_plots(user_id: int, model_id: int, get_loss: bool): "Loss" if get_loss else "Metric", ) current_dir = os.getcwd() - print(current_dir) response = send_file(os.path.join(current_dir, "images", plot_path)) # delete_file(os.path.join(current_dir, "images", plot_path)) return response From 1d2595dca0c3deb26a98d1c2b3cd82c18274ceb6 Mon Sep 17 00:00:00 2001 From: heartmarshall Date: Mon, 25 Dec 2023 16:35:26 +0300 Subject: [PATCH 3/6] job done --- client/templates/main.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/client/templates/main.html b/client/templates/main.html index 9ce76ef..1f3793f 100644 --- a/client/templates/main.html +++ b/client/templates/main.html @@ -308,7 +308,7 @@

-
No metrics yet
+
No metrics yet