aboutsummaryrefslogtreecommitdiff
path: root/app/templates/generate.html
blob: f1870469b40355c844d636b6a6be3e1722ca1a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 %}