20 Commits

Author SHA1 Message Date
Cunninger
3f32cb4de2 fix(cookie): resolve hardcoded cookie issue (oversight fix) 2025-02-04 00:31:30 +08:00
Cunninger
ec554bc93a refactor(api): update authentication and request parameters for enhanced compatibility 2025-02-03 14:31:27 +08:00
Cunninger
77997c592e Fix some symbol issues at line 1221 2025-02-02 21:17:52 +08:00
Cunninger
6f6383a31f Update vision model to qwen2.5-vl-72b-instruct
- Upgraded model version to qwen2.5-vl-72b-instruct
- Updated configuration files to support the new model
- Fixed compatibility issues related to the new model
2025-01-28 07:59:11 +08:00
Cunninger
6b75d87808 Fix CORS policy issue for fetch request
- Resolved the CORS policy error when accessing 'https://chat.qwenlm.ai/api/v1/files/' from 'https://ocr.doublefenzhuan.me'.
- Added 'Access-Control-Allow-Origin' header to the server response to allow cross-origin requests.
- Alternatively, set the request mode to 'no-cors' if an opaque response is acceptable.

This change ensures that the fetch request can be made without being blocked by CORS policy restrictions.
2025-01-24 21:16:25 +08:00
Cunninger
d8eb58b88f style: adjust layout and styling for better alignment 2025-01-18 14:54:38 +08:00
Cunninger
7da3c8e81b fix: display image correctly in recognition history when input from URL 2025-01-18 14:43:58 +08:00
Cunninger
b38a40911b chore: add github link 2025-01-18 14:34:47 +08:00
Cunninger
744b544aea feat: add URL input button for image support on main interface 2025-01-18 12:24:09 +08:00
Cunninger
4ba70a858f fix: resolve issue with .gitignore$ being copied in recognized content 2025-01-15 08:24:52 +08:00
Cunninger
7290399240 fix: resolve copy issue in recognition history interface 2025-01-14 20:10:32 +08:00
Cunninger
657f37a90e Merge branch 'main' of https://github.com/Cunninger/ocr-based-qwen 2025-01-14 18:25:37 +08:00
Cunninger
e475c9d473 Initial commit 2025-01-14 18:21:17 +08:00
programmerWsy
5bbba7ab22
feat: add CAPTCHA recognition support 2025-01-14 17:47:27 +08:00
programmerWsy
3927019eb8
Update worker.js
fix: resolve TypeError in HistoryManager by ensuring MathJax.typesetPromise is available

- Fixed the uncaught TypeError caused by `MathJax.typesetPromise` not being a function.
- Ensured MathJax is properly loaded before calling `typesetPromise`.
- Updated the HistoryManager.displayHistory function to handle MathJax initialization correctly.

Fixes issue at (索引):750:15 and (索引):923:22.
2025-01-14 17:27:18 +08:00
programmerWsy
ee53bd6ecf
Update worker.js 2025-01-13 19:21:00 +08:00
programmerWsy
2a39a2c969
Update worker.js
feat: 新增数学公式识别功能,支持 LaTeX 格式输出
feat: 新增 API 调用支持,提供 base64 和图片 URL 两种方式
2025-01-13 18:54:12 +08:00
programmerWsy
a6a5241c26
Update worker.js 2025-01-13 18:50:30 +08:00
programmerWsy
1178a56d62
Update worker.js 2025-01-13 18:46:31 +08:00
programmerWsy
62054add3b
Create worker.js 2025-01-11 12:05:59 +08:00