Gregniuki commited on
Commit
75e49dc
·
1 Parent(s): eccadc3

Update templates/interface.html

Browse files
Files changed (1) hide show
  1. templates/interface.html +7 -1
templates/interface.html CHANGED
@@ -49,7 +49,13 @@
49
 
50
  <button id="synthesize_button">Synthesize</button>
51
  <button id="close_button">Exit</button>
52
-
 
 
 
 
 
 
53
  <!-- Add any JavaScript scripts or functions here -->
54
  </body>
55
  </html>
 
49
 
50
  <button id="synthesize_button">Synthesize</button>
51
  <button id="close_button">Exit</button>
52
+ <div>
53
+ <!-- HTML audio element to play the generated audio -->
54
+ <audio controls>
55
+ <source src="/generate_audio" type="audio/wav"> <!-- Replace "/generate_audio" with your FastAPI route URL -->
56
+ Your browser does not support the audio element.
57
+ </audio>
58
+ </div>
59
  <!-- Add any JavaScript scripts or functions here -->
60
  </body>
61
  </html>