Spaces:
Running
Running
fix progress bar
Browse files- wasm-demo.js +1 -1
wasm-demo.js
CHANGED
@@ -306,7 +306,7 @@ async function pollTaskStatus(currentTaskId, currentUid) {
|
|
306 |
} else {
|
307 |
userMessage = 'Waiting in queue...';
|
308 |
}
|
309 |
-
} else if (statusData.status === 'processing' || statusData.status === 'running') {
|
310 |
userMessage = 'Processing your request...';
|
311 |
showComputing = true;
|
312 |
|
|
|
306 |
} else {
|
307 |
userMessage = 'Waiting in queue...';
|
308 |
}
|
309 |
+
} else if (statusData.status === 'processing' || statusData.status === 'running' || statusData.status === 'started') {
|
310 |
userMessage = 'Processing your request...';
|
311 |
showComputing = true;
|
312 |
|