2021-03-10 15:56:40 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
{% block content %}
|
|
|
|
|
<form method="POST" action="/synthesis-setup" enctype="multipart/form-data">
|
|
|
|
|
<div class="form-group">
|
2021-07-26 21:38:13 +01:00
|
|
|
<label for="model">Model</label>
|
2021-07-25 19:49:26 +01:00
|
|
|
<select class="form-control" id="model" name="model" onchange="selectModel()" required>
|
2021-03-10 15:56:40 +00:00
|
|
|
{% for model in models %}
|
|
|
|
|
<option value="{{model}}">{{model}}</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2021-06-03 19:57:18 +01:00
|
|
|
<div class="form-group">
|
2021-07-26 21:38:13 +01:00
|
|
|
<label for="checkpoint">Checkpoint</label>
|
2021-07-25 18:34:34 +01:00
|
|
|
<select class="form-control" id="checkpoint" name="checkpoint" required></select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2021-07-26 21:38:13 +01:00
|
|
|
<label for="language">Language <a href="/settings">Add more</a></label>
|
2021-06-03 19:57:18 +01:00
|
|
|
<select class="form-control" id="language" name="language" required>
|
|
|
|
|
{% for language in languages %}
|
|
|
|
|
<option value="{{language}}">{{language}}</option>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2021-03-10 15:56:40 +00:00
|
|
|
<div class="form-group">
|
2021-07-26 21:38:13 +01:00
|
|
|
<label for="vocoder_type">Vocoder <a href="/settings">Add more</a></label>
|
2021-08-10 09:49:48 +01:00
|
|
|
<select class="form-control" id="vocoder" name="vocoder" required>
|
2021-08-01 19:36:37 +01:00
|
|
|
{% for option in hifigan_models %}
|
|
|
|
|
<option value="{{ option }}">{{ option }}</option>
|
|
|
|
|
{% endfor %}
|
2021-07-26 21:38:13 +01:00
|
|
|
</select>
|
2021-04-24 16:06:12 +01:00
|
|
|
</div>
|
2021-03-10 15:56:40 +00:00
|
|
|
<input type="submit" class="btn btn-primary">
|
|
|
|
|
</form>
|
2021-07-25 18:34:34 +01:00
|
|
|
<script>
|
|
|
|
|
let checkpoints = {{ checkpoints|safe }};
|
|
|
|
|
</script>
|
2021-07-28 14:28:41 +01:00
|
|
|
<script src="{{ url_for('static', filename='synthesis-setup.js') }}"></script>
|
2021-03-10 15:56:40 +00:00
|
|
|
{% endblock %}
|