We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebd2def commit f2f5246Copy full SHA for f2f5246
app_doctr.py
@@ -15,8 +15,6 @@
15
from doctr.models import ocr_predictor
16
from img2table.document import Image
17
from img2table.ocr import DocTR
18
-import streamlit as st
19
-
20
21
# Hardcoded period types and formatting, probably won't update but can get them through API
22
PERIOD_TYPES = {
@@ -304,7 +302,7 @@ def clean_up(table_dfs):
304
302
for col in range(table.shape[1]):
305
303
cell_value = table.iloc[row][col]
306
print(cell_value)
307
- if cell_value == None:
+ if cell_value is None or cell_value=="None":
308
table.iloc[row][col] = ""
309
print(table.iloc[row][col])
310
print(table_dfs)
0 commit comments