napatswift commited on
Commit
3526a5a
·
1 Parent(s): 39be479

Update dict

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. model/recog/config.py +1 -1
Dockerfile CHANGED
@@ -24,5 +24,6 @@ WORKDIR $HOME/app
24
 
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=user . $HOME/app
 
27
 
28
  CMD ["python", "main.py"]
 
24
 
25
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
26
  COPY --chown=user . $HOME/app
27
+ RUN ls
28
 
29
  CMD ["python", "main.py"]
model/recog/config.py CHANGED
@@ -85,7 +85,7 @@ model = dict(
85
  dictionary=dict(
86
  type='Dictionary',
87
  dict_file=
88
- '/content/mmocr/configs/textrecog/nrtr/../../../dicts/thai_digits_symbols.txt',
89
  with_padding=True,
90
  with_unknown=True,
91
  same_start_end=True,
 
85
  dictionary=dict(
86
  type='Dictionary',
87
  dict_file=
88
+ 'th_dict.txt',
89
  with_padding=True,
90
  with_unknown=True,
91
  same_start_end=True,