Spaces:
Sleeping
Sleeping
Jiang Xiaolan
commited on
Commit
·
7332575
1
Parent(s):
fa4292c
add log
Browse files
app.py
CHANGED
|
@@ -229,6 +229,7 @@ if clone_repo():
|
|
| 229 |
# predictions = ia.get_ocr_predictions(pil_image, models)
|
| 230 |
# json_predictions = ia.get_json_result(predictions)
|
| 231 |
json_predictions = ia.get_json_result_v2(pil_image, models)
|
|
|
|
| 232 |
st.session_state.json_predictions = json_predictions
|
| 233 |
|
| 234 |
# Convert JSON to Excel
|
|
|
|
| 229 |
# predictions = ia.get_ocr_predictions(pil_image, models)
|
| 230 |
# json_predictions = ia.get_json_result(predictions)
|
| 231 |
json_predictions = ia.get_json_result_v2(pil_image, models)
|
| 232 |
+
logger.error(json_predictions)
|
| 233 |
st.session_state.json_predictions = json_predictions
|
| 234 |
|
| 235 |
# Convert JSON to Excel
|