Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +3 -2
templates/interface.html
CHANGED
@@ -55,8 +55,8 @@
|
|
55 |
<button type="submit" id="synthesize_button">Synthesize</button>
|
56 |
<button type="button" id="close_button" onclick="closeGUI()">Exit</button>
|
57 |
</div>
|
58 |
-
|
59 |
-
{% if audio_file %}
|
60 |
<h2>Generated Audio</h2>
|
61 |
<audio controls>
|
62 |
<source src="{{ fileURL }}" type="audio/mpeg">
|
@@ -64,6 +64,7 @@
|
|
64 |
</audio>
|
65 |
<a href="{{ fileURL }}" download>Download Audio</a>
|
66 |
{% endif %}
|
|
|
67 |
<script>
|
68 |
// JavaScript function for handling the "Exit" button click
|
69 |
function closeGUI() {
|
|
|
55 |
<button type="submit" id="synthesize_button">Synthesize</button>
|
56 |
<button type="button" id="close_button" onclick="closeGUI()">Exit</button>
|
57 |
</div>
|
58 |
+
|
59 |
+
{% if audio_file %}
|
60 |
<h2>Generated Audio</h2>
|
61 |
<audio controls>
|
62 |
<source src="{{ fileURL }}" type="audio/mpeg">
|
|
|
64 |
</audio>
|
65 |
<a href="{{ fileURL }}" download>Download Audio</a>
|
66 |
{% endif %}
|
67 |
+
</form>
|
68 |
<script>
|
69 |
// JavaScript function for handling the "Exit" button click
|
70 |
function closeGUI() {
|