smjain commited on
Commit
0eb3cd7
·
verified ·
1 Parent(s): d0a84b4

Upload ui.html

Browse files
Files changed (1) hide show
  1. templates/ui.html +1 -1
templates/ui.html CHANGED
@@ -77,7 +77,7 @@ $(document).ready(function() {
77
  success: function(data) {
78
  $('#statusDisplay').text(`${data.status} - ${data.percentage}% complete`);
79
  if (data.status !== "Completed" && data.status !== "Failed") {
80
- $('#processedAudio')[0].play();
81
  setTimeout(() => updateTaskStatus(audioId), 1000); // Poll every second
82
  } else {
83
  if (data.status === "Completed") {
 
77
  success: function(data) {
78
  $('#statusDisplay').text(`${data.status} - ${data.percentage}% complete`);
79
  if (data.status !== "Completed" && data.status !== "Failed") {
80
+
81
  setTimeout(() => updateTaskStatus(audioId), 1000); // Poll every second
82
  } else {
83
  if (data.status === "Completed") {