LLDDWW Claude commited on
Commit
8a7e01c
·
1 Parent(s): c5fa8ab

chore: upgrade to Qwen2.5-VL-7B-Instruct

Browse files

- Switch from 3B to 7B model for better OCR performance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
11
  from qwen_vl_utils import process_vision_info
12
 
13
  # Qwen2.5-VL 모델 ID
14
- MODEL_ID = "Qwen/Qwen2.5-VL-3B-Instruct"
15
 
16
 
17
  def _extract_assistant_content(decoded: str) -> str:
@@ -298,7 +298,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=CUSTOM_CSS) as demo:
298
  ---
299
 
300
  **ℹ️ OCR 모델**
301
- - Qwen2.5-VL-3B-Instruct - 최첨단 비전-언어 모델 기반 OCR (GPT-4o 수준)
302
  - 한국어, 영어 등 다국어 지원
303
  """)
304
 
 
11
  from qwen_vl_utils import process_vision_info
12
 
13
  # Qwen2.5-VL 모델 ID
14
+ MODEL_ID = "Qwen/Qwen2.5-VL-7B-Instruct"
15
 
16
 
17
  def _extract_assistant_content(decoded: str) -> str:
 
298
  ---
299
 
300
  **ℹ️ OCR 모델**
301
+ - Qwen2.5-VL-7B-Instruct - 최첨단 비전-언어 모델 기반 OCR (GPT-4o 수준)
302
  - 한국어, 영어 등 다국어 지원
303
  """)
304