Spaces:
Running
Running
Update templates/interface.html
Browse files- templates/interface.html +2 -1
templates/interface.html
CHANGED
@@ -72,6 +72,7 @@
|
|
72 |
<div>
|
73 |
<button type="submit" id="synthesize_button">Synthesize</button>
|
74 |
</div>
|
|
|
75 |
// Add an event listener to load the speaker_id_map when the page loads
|
76 |
window.addEventListener("load", function() {
|
77 |
// Fetch the speaker_id_map from the server
|
@@ -88,7 +89,7 @@ window.addEventListener("load", function() {
|
|
88 |
}
|
89 |
});
|
90 |
});
|
91 |
-
|
92 |
|
93 |
{% if file_url %}
|
94 |
<h2>Generated Audio</h2>
|
|
|
72 |
<div>
|
73 |
<button type="submit" id="synthesize_button">Synthesize</button>
|
74 |
</div>
|
75 |
+
<script>
|
76 |
// Add an event listener to load the speaker_id_map when the page loads
|
77 |
window.addEventListener("load", function() {
|
78 |
// Fetch the speaker_id_map from the server
|
|
|
89 |
}
|
90 |
});
|
91 |
});
|
92 |
+
</script>
|
93 |
|
94 |
{% if file_url %}
|
95 |
<h2>Generated Audio</h2>
|