From 8f252a19d326114d5562f38cdf7c41c6288d86d2 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 25 Aug 2020 23:30:44 +0530 Subject: changed bootstrap theme to solarized --- app/__init__.py | 2 +- app/templates/base.html | 8 +++++++- app/templates/generate.html | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'app') 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 @@ Curie Web - + @@ -37,9 +37,15 @@ + + diff --git a/app/templates/generate.html b/app/templates/generate.html index c034bd3..45bbb3b 100644 --- a/app/templates/generate.html +++ b/app/templates/generate.html @@ -2,7 +2,7 @@ {% block main %}

Curie Generate

-

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.

{% include 'flash_messages.html' %} {{ form.csrf_token }} -- cgit v1.2.3