Spaces:
Sleeping
Sleeping
Vineela Gampa commited on
fixing anlyzer
Browse files- web/analyzer.html +3 -3
web/analyzer.html
CHANGED
|
@@ -265,7 +265,7 @@ const profileNavDesktop = document.querySelector('ul.md\\:flex li a[href="profil
|
|
| 265 |
} from "https://cdn.jsdelivr.net/npm/@xenova/transformers@2.6.0";
|
| 266 |
|
| 267 |
const loadingEl = document.getElementById("loading");
|
| 268 |
-
const textOutput = document.getElementById("text-output");
|
| 269 |
const recsOutput = document.getElementById("recommendations-output");
|
| 270 |
const findingsOutput = document.getElementById(
|
| 271 |
"detected-measurement-results"
|
|
@@ -362,7 +362,7 @@ const profileNavDesktop = document.querySelector('ul.md\\:flex li a[href="profil
|
|
| 362 |
}
|
| 363 |
|
| 364 |
loadingEl.textContent = "Processing with AI...";
|
| 365 |
-
textOutput.textContent = "";
|
| 366 |
recsOutput.textContent = "";
|
| 367 |
|
| 368 |
const formData = new FormData();
|
|
@@ -384,7 +384,7 @@ const profileNavDesktop = document.querySelector('ul.md\\:flex li a[href="profil
|
|
| 384 |
}
|
| 385 |
|
| 386 |
extractedText = data.ocr_text || "";
|
| 387 |
-
textOutput.textContent = extractedText;
|
| 388 |
|
| 389 |
const recs = Array.isArray(data.Detected_Anomolies)
|
| 390 |
? data.Detected_Anomolies
|
|
|
|
| 265 |
} from "https://cdn.jsdelivr.net/npm/@xenova/transformers@2.6.0";
|
| 266 |
|
| 267 |
const loadingEl = document.getElementById("loading");
|
| 268 |
+
//const textOutput = document.getElementById("text-output");
|
| 269 |
const recsOutput = document.getElementById("recommendations-output");
|
| 270 |
const findingsOutput = document.getElementById(
|
| 271 |
"detected-measurement-results"
|
|
|
|
| 362 |
}
|
| 363 |
|
| 364 |
loadingEl.textContent = "Processing with AI...";
|
| 365 |
+
//textOutput.textContent = "";
|
| 366 |
recsOutput.textContent = "";
|
| 367 |
|
| 368 |
const formData = new FormData();
|
|
|
|
| 384 |
}
|
| 385 |
|
| 386 |
extractedText = data.ocr_text || "";
|
| 387 |
+
//textOutput.textContent = extractedText;
|
| 388 |
|
| 389 |
const recs = Array.isArray(data.Detected_Anomolies)
|
| 390 |
? data.Detected_Anomolies
|