Gregniuki commited on
Commit
c3f2cc3
·
1 Parent(s): 0d7f71b

Update templates/interface.html

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