Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +3 -3
templates/interface.html
CHANGED
@@ -56,13 +56,13 @@
|
|
56 |
<button type="button" id="close_button" onclick="closeGUI()">Exit</button>
|
57 |
</div>
|
58 |
|
59 |
-
{% if
|
60 |
<h2>Generated Audio</h2>
|
61 |
<audio controls>
|
62 |
-
<source src="{{
|
63 |
Your browser does not support the audio element.
|
64 |
</audio>
|
65 |
-
<a href="{{
|
66 |
{% endif %}
|
67 |
</form>
|
68 |
<script>
|
|
|
56 |
<button type="button" id="close_button" onclick="closeGUI()">Exit</button>
|
57 |
</div>
|
58 |
|
59 |
+
{% if file_url %}
|
60 |
<h2>Generated Audio</h2>
|
61 |
<audio controls>
|
62 |
+
<source src="{{ file_url }}" type="audio/mpeg">
|
63 |
Your browser does not support the audio element.
|
64 |
</audio>
|
65 |
+
<a href="{{ file_url }}" download>Download Audio</a>
|
66 |
{% endif %}
|
67 |
</form>
|
68 |
<script>
|