52 Commits

Author SHA1 Message Date
Cunninger
3f32cb4de2 fix(cookie): resolve hardcoded cookie issue (oversight fix) 2025-02-04 00:31:30 +08:00
Cunninger
989bb531f9 update readme about cookie 2025-02-03 15:03:19 +08:00
programmerWsy
1c25f0d70d
Update README.md 2025-02-03 14:43:38 +08:00
Cunninger
061d05dfe8 refactor(api): update authentication and request parameters for enhanced compatibility
- Replace token-based authentication with cookie-based authentication for improved security and usability
- Add support for chat_type field in both request body and content object to align with updated API requirements
- Ensure prompt content remains unchanged while adapting to the new interface specifications
- Update frontend interface to include a dedicated field for cookie input under Token management
This change ensures seamless integration with the updated API while maintaining backward compatibility and user experience.
2025-02-03 14:39:25 +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
programmerWsy
bfc1a28fc4
Update README.md 2025-01-25 10:29:23 +08:00
Cunninger
09905c0990 Merge branch 'main' of https://github.com/Cunninger/ocr-based-qwen 2025-01-24 21:17:09 +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
programmerWsy
c49f1d6598
Update README.md 2025-01-24 18:48:55 +08:00
programmerWsy
8110a8b752
Update README.md 2025-01-18 14:55:26 +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
4dc33f25ba Merge branch 'main' of https://github.com/Cunninger/ocr-based-qwen 2025-01-18 14:13:34 +08:00
Cunninger
5a9630ca94 chore: add favicon to the website 2025-01-18 14:12:48 +08:00
programmerWsy
9eee66ae9a
Update README.md 2025-01-18 12:30:43 +08:00
programmerWsy
235394180e
Update README.md 2025-01-18 12:29:14 +08:00
Cunninger
87dcdd9928 Merge branch 'main' of https://github.com/Cunninger/ocr-based-qwen 2025-01-18 12:25:09 +08:00
Cunninger
744b544aea feat: add URL input button for image support on main interface 2025-01-18 12:24:09 +08:00
programmerWsy
b9c1baade2
Update LICENSE 2025-01-17 15:24:11 +08:00
programmerWsy
d1c81e7d14
Update LICENSE 2025-01-17 15:22:55 +08:00
Cunninger
4ba70a858f fix: resolve issue with .gitignore$ being copied in recognized content 2025-01-15 08:24:52 +08:00
programmerWsy
5deb60c82f
Update README.md 2025-01-15 07:45:56 +08:00
programmerWsy
21e3d6c494
Update README.md 2025-01-14 20:26:14 +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
4c85ff55c4
Update README.md 2025-01-14 17:58:47 +08:00
programmerWsy
dfb6e6d377
Update README.md 2025-01-14 17:57:17 +08:00
programmerWsy
ff199ff82d
Update README.md 2025-01-14 17:48:50 +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
2f449bb07e
Create LICENSE 2025-01-13 20:18:07 +08:00
programmerWsy
778ceac26f
Update README.md 2025-01-13 20:14:05 +08:00
programmerWsy
25e09c58f1
Update README.md 2025-01-13 19:48:03 +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
3da4260d99
Update README.md 2025-01-13 18:47:59 +08:00
programmerWsy
1178a56d62
Update worker.js 2025-01-13 18:46:31 +08:00
programmerWsy
838adbd6e0
Update README.md 2025-01-13 18:45:57 +08:00
lonelykkk
8e8e090671
Update README.md 2025-01-13 18:12:34 +08:00
JIU-W
3b1523b6f2
Update README.md 2025-01-13 17:37:13 +08:00
programmerWsy
c6e39048c7
Update README.md 2025-01-13 16:55:45 +08:00
programmerWsy
f251d38ca0
Update README.md 2025-01-13 10:47:17 +08:00
programmerWsy
1afe2cbb00
Update README.md 2025-01-13 10:45:05 +08:00
programmerWsy
74ed7662fb
Update README.md 2025-01-11 12:11:40 +08:00
programmerWsy
6b0d0520fe
Update README.md 2025-01-11 12:08:38 +08:00