diff options
Diffstat (limited to 'app/templates')
-rw-r--r-- | app/templates/generate.html | 24 |
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 |