Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +8 -7
templates/interface.html
CHANGED
@@ -55,6 +55,13 @@
|
|
55 |
<button type="submit" id="synthesize_button">Synthesize</button>
|
56 |
<button type="button" id="close_button" onclick="closeGUI()">Exit</button>
|
57 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
</form>
|
59 |
<script>
|
60 |
// JavaScript function for handling the "Exit" button click
|
@@ -63,13 +70,7 @@
|
|
63 |
alert("Closing the GUI");
|
64 |
}
|
65 |
</script>
|
66 |
-
|
67 |
-
<!-- HTML audio element to play the generated audio -->
|
68 |
-
<audio controls>
|
69 |
-
<source src="/generate_audio" type="audio/wav"> <!-- Replace "/generate_audio" with your FastAPI route URL -->
|
70 |
-
Your browser does not support the audio element.
|
71 |
-
</audio>
|
72 |
-
</div>
|
73 |
<!-- Add any JavaScript scripts or functions here -->
|
74 |
</body>
|
75 |
</html>
|
|
|
55 |
<button type="submit" id="synthesize_button">Synthesize</button>
|
56 |
<button type="button" id="close_button" onclick="closeGUI()">Exit</button>
|
57 |
</div>
|
58 |
+
<div>
|
59 |
+
<!-- HTML audio element to play the generated audio -->
|
60 |
+
<audio controls>
|
61 |
+
<source src="/generate_audio" type="audio/wav"> <!-- Replace "/generate_audio" with your FastAPI route URL -->
|
62 |
+
Your browser does not support the audio element.
|
63 |
+
</audio>
|
64 |
+
</div>
|
65 |
</form>
|
66 |
<script>
|
67 |
// JavaScript function for handling the "Exit" button click
|
|
|
70 |
alert("Closing the GUI");
|
71 |
}
|
72 |
</script>
|
73 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
<!-- Add any JavaScript scripts or functions here -->
|
75 |
</body>
|
76 |
</html>
|