aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-31 22:23:41 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-31 22:23:41 +0530
commitcfa7ae936935010f77eaddd561ff1c0857a3c6f0 (patch)
treef5479ca6531bd94e2314361b1bd71c0e77328573
parent9a253f896fba757778370c8ad6d40daa3b4cdad0 (diff)
forgot generate.html 😳
-rw-r--r--app/templates/generate.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/templates/generate.html b/app/templates/generate.html
new file mode 100644
index 0000000..f187046
--- /dev/null
+++ b/app/templates/generate.html
@@ -0,0 +1,24 @@
+{% extends 'base.html' %}
+
+{% block main %}
+ <h1>Curie Generate</h1>
+ <p>The model {{expName}} has been trained for {{epochs}} epochs using the {{optimizer}} optimization algorithm</p>
+ <form action="{{ url_for('generate') }}" method="post" enctype="multipart/form-data">
+ {% include 'flash_messages.html' %}
+ {{ form.csrf_token }}
+ <div class="form-row">
+ {{ form.n.label }}
+ {{ form.n(class="form-control")}}
+ </div>
+ <br>
+ <div class="form-row">
+ <button type="submit" class="btn btn-primary">Submit</button>
+ </div>
+ </form>
+
+ {% if result %}
+ </b>what the frick</b>
+ <i>{{result}}</i>
+ {% endif %}
+
+{% endblock %} \ No newline at end of file