diff --git a/static/index.html b/static/index.html index 31cce68..ce6b8c1 100644 --- a/static/index.html +++ b/static/index.html @@ -2641,8 +2641,9 @@ // Try server OCR first (handles more formats like DNG/RAW) let ocrData = null; try { + if (ocrEl) ocrEl.textContent = '⏳ Uploading to server OCR...'; const controller = new AbortController(); - const t = setTimeout(() => controller.abort(), 6000); + const t = setTimeout(() => controller.abort(), 20000); const fd = new FormData(); fd.append('file', file, file.name || 'sticker.jpg'); const res = await fetch('/api/ocr', {