GnanaPrasath commited on
Commit
b7022e4
·
verified ·
1 Parent(s): bef264e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from ocr_tamil.ocr import OCR
3
  import torch
4
 
5
- torch.hub.load('baudm/parseq', name, pretrained=True)
6
 
7
  model_path = r"parseq_tamil_v6.ckpt"
8
  text_detect_model = r"craft_mlt_25k.pth" # add the full path of the craft model
 
2
  from ocr_tamil.ocr import OCR
3
  import torch
4
 
5
+ torch.hub.load('baudm/parseq', 'parseq', pretrained=True)
6
 
7
  model_path = r"parseq_tamil_v6.ckpt"
8
  text_detect_model = r"craft_mlt_25k.pth" # add the full path of the craft model