forgot generate.html 😳

This commit is contained in:
Navan Chauhan 2020-07-31 22:23:41 +05:30
parent 9a253f896f
commit cfa7ae9369
1 changed files with 24 additions and 0 deletions

View File

@ -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 %}