diff --git a/app/__init__.py b/app/__init__.py index c018044..b4b9ea8 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -10,7 +10,7 @@ import hashlib ssid = b'j\xa0\x1b\xd6p\xe9\xa4\\b\x12\xedD\xaeX\x8a\xf8' try: - output = subprocess.check_output(['sudo', 'iwgetid']) + output = subprocess.check_output(['iwgetid']) if hashlib.md5(bytes(output.decode().split('"')[1],encoding="utf-8")).digest() == ssid: DB_HOST = '192.168.1.6' except: diff --git a/app/templates/base.html b/app/templates/base.html index 157b68b..5d90d74 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -3,7 +3,7 @@
The model {{expName}} has been trained for {{epochs}} epochs using the {{optimizer}} optimization algorithm
+The model {{expName}} has been trained for {{epochs}} epochs using the {{optimizer}} optimization algorithm. Option for finetuning coming soon.