Spaces:
Runtime error
Runtime error
Update app.py
Browse files19 unmodified lines2021222324232425262716 unmodified lines4445464748495019 unmodified lines# main titlest.title("Recognize text and locations from flowchart")
# subtitlest.markdown("## FlowchartOCR")# # subtitle# st.markdown("## FlowchartOCR")
# upload image filefile = st.file_uploader(label = "Upload Image", type=['png', 'jpg', 'jpeg'])16 unmodified lines pred_confidence = result[idx][2] if(pred_confidence>0.6): textdic_easyocr[pred_text] = {} textdic_easyocr[pred_text]['location'] = pred_coor textdic_easyocr[pred_text]['pred_confidence'] = pred_confidence
# create a data frame which shows the predicted text and prediction confidenceapp.py+3-2