OmidSakaki commited on
Commit
999a6b4
·
verified ·
1 Parent(s): e186575

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,8 +6,7 @@ import os
6
 
7
  # --- مدل‌ها ---
8
  try:
9
- # مدل جدید تست شده و کارآمد
10
- model_name = "m3hrdadfi/mt5-small-parsinlu-grammar-correction"
11
 
12
  ocr_model = PaddleOCR(lang='fa', use_textline_orientation=True)
13
  tokenizer = AutoTokenizer.from_pretrained(model_name)
 
6
 
7
  # --- مدل‌ها ---
8
  try:
9
+ model_name = "m3hrdadfi/mt5-small-finetuned-grammar-synthesis"
 
10
 
11
  ocr_model = PaddleOCR(lang='fa', use_textline_orientation=True)
12
  tokenizer = AutoTokenizer.from_pretrained(model_name)