Update index.html
Browse files- index.html +2 -4
index.html
CHANGED
|
@@ -518,10 +518,6 @@
|
|
| 518 |
|
| 519 |
const processor = await AutoProcessor.from_pretrained(model_id);
|
| 520 |
|
| 521 |
-
statusLabel.textContent = "Ready";
|
| 522 |
-
|
| 523 |
-
fileUpload.disabled = false;
|
| 524 |
-
|
| 525 |
return { model, processor };
|
| 526 |
} catch (error) {
|
| 527 |
console.error("Error loading model:", error);
|
|
@@ -530,6 +526,8 @@
|
|
| 530 |
}
|
| 531 |
|
| 532 |
const { model, processor } = await loadModel();
|
|
|
|
|
|
|
| 533 |
|
| 534 |
</script>
|
| 535 |
</body>
|
|
|
|
| 518 |
|
| 519 |
const processor = await AutoProcessor.from_pretrained(model_id);
|
| 520 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 521 |
return { model, processor };
|
| 522 |
} catch (error) {
|
| 523 |
console.error("Error loading model:", error);
|
|
|
|
| 526 |
}
|
| 527 |
|
| 528 |
const { model, processor } = await loadModel();
|
| 529 |
+
fileUpload.disabled = false;
|
| 530 |
+
statusLabel.textContent = "Ready";
|
| 531 |
|
| 532 |
</script>
|
| 533 |
</body>
|