Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -164,6 +164,7 @@ if __name__ == "__main__":
|
|
164 |
"ch_PP-OCRv3_det_infer.onnx",
|
165 |
"ch_PP-OCRv2_det_infer.onnx",
|
166 |
"ch_ppocr_server_v2.0_det_infer.onnx",
|
|
|
167 |
]
|
168 |
select_det = menu_det.selectbox("Det model:", det_models)
|
169 |
|
@@ -171,7 +172,6 @@ if __name__ == "__main__":
|
|
171 |
"ch_PP-OCRv4_rec_infer.onnx",
|
172 |
"ch_PP-OCRv3_rec_infer.onnx",
|
173 |
"ch_PP-OCRv2_rec_infer.onnx",
|
174 |
-
"ch_PP-OCRv4_det_server_infer.onnx",
|
175 |
"ch_ppocr_server_v2.0_rec_infer.onnx",
|
176 |
"en_PP-OCRv3_rec_infer.onnx",
|
177 |
"en_number_mobile_v2.0_rec_infer.onnx",
|
|
|
164 |
"ch_PP-OCRv3_det_infer.onnx",
|
165 |
"ch_PP-OCRv2_det_infer.onnx",
|
166 |
"ch_ppocr_server_v2.0_det_infer.onnx",
|
167 |
+
"ch_PP-OCRv4_det_server_infer.onnx",
|
168 |
]
|
169 |
select_det = menu_det.selectbox("Det model:", det_models)
|
170 |
|
|
|
172 |
"ch_PP-OCRv4_rec_infer.onnx",
|
173 |
"ch_PP-OCRv3_rec_infer.onnx",
|
174 |
"ch_PP-OCRv2_rec_infer.onnx",
|
|
|
175 |
"ch_ppocr_server_v2.0_rec_infer.onnx",
|
176 |
"en_PP-OCRv3_rec_infer.onnx",
|
177 |
"en_number_mobile_v2.0_rec_infer.onnx",
|