HERIUN commited on
Commit
ba5f22e
1 Parent(s): 591ba45

add models

Browse files
Files changed (1) hide show
  1. config.py +2 -2
config.py CHANGED
@@ -4,9 +4,9 @@ import os
4
  class Config:
5
  def __init__(self):
6
  self.current_dir = os.path.dirname(os.path.abspath(__file__))
7
- self.seg_model_path = os.path.join(self.current_dir, "pretrained", "seg.pth")
8
  self.rec_model_path = os.path.join(
9
- self.current_dir, "pretrained", "DocScanner-L.pth"
10
  )
11
  self.geotr_model_path = os.path.join(self.current_dir, "pretrained", "model.pt")
12
  self.save_path = os.path.join(self.current_dir, "output")
 
4
  class Config:
5
  def __init__(self):
6
  self.current_dir = os.path.dirname(os.path.abspath(__file__))
7
+ self.seg_model_path = os.path.join(self.current_dir, "seg.pth")
8
  self.rec_model_path = os.path.join(
9
+ self.current_dir, "DocScanner-L.pth"
10
  )
11
  self.geotr_model_path = os.path.join(self.current_dir, "pretrained", "model.pt")
12
  self.save_path = os.path.join(self.current_dir, "output")