Spaces:
Running
Running
Mountchicken
commited on
Commit
•
6838280
1
Parent(s):
2b60563
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def arg_parse():
|
|
22 |
parser.add_argument(
|
23 |
'--rec_config',
|
24 |
type=str,
|
25 |
-
default='
|
26 |
help='The recognition config file.')
|
27 |
parser.add_argument(
|
28 |
'--rec_weight',
|
@@ -34,7 +34,7 @@ def arg_parse():
|
|
34 |
'--det_config',
|
35 |
type=str,
|
36 |
default=
|
37 |
-
'
|
38 |
help='The detection config file.')
|
39 |
parser.add_argument(
|
40 |
'--det_weight',
|
|
|
22 |
parser.add_argument(
|
23 |
'--rec_config',
|
24 |
type=str,
|
25 |
+
default='configs/textrecog/maerec/maerec_b_union14m.py',
|
26 |
help='The recognition config file.')
|
27 |
parser.add_argument(
|
28 |
'--rec_weight',
|
|
|
34 |
'--det_config',
|
35 |
type=str,
|
36 |
default=
|
37 |
+
'configs/textdet/dbnetpp/dbnetpp_resnet50-oclip_fpnc_1200e_icdar2015.py', # noqa,
|
38 |
help='The detection config file.')
|
39 |
parser.add_argument(
|
40 |
'--det_weight',
|