Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +2 -2
templates/interface.html
CHANGED
@@ -59,10 +59,10 @@
|
|
59 |
{% if audio_file %}
|
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 |
<script>
|
68 |
// JavaScript function for handling the "Exit" button click
|
|
|
59 |
{% if audio_file %}
|
60 |
<h2>Generated Audio</h2>
|
61 |
<audio controls>
|
62 |
+
<source src="{{ fileURL }}" type="audio/mpeg">
|
63 |
Your browser does not support the audio element.
|
64 |
</audio>
|
65 |
+
<a href="{{ fileURL }}" download>Download Audio</a>
|
66 |
{% endif %}
|
67 |
<script>
|
68 |
// JavaScript function for handling the "Exit" button click
|