Spaces:
Sleeping
Sleeping
Upload ui.html
Browse files- 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 |
-
|
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") {
|