Gregniuki commited on
Commit
b6934f9
·
1 Parent(s): b4bc7c1

Update templates/interface.html

Browse files
Files changed (1) hide show
  1. 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 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
  </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>