Spaces:
Running
Running
pelinbalci
commited on
Commit
•
6352de6
1
Parent(s):
61f9858
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ if file is not None:
|
|
59 |
textdic_easyocr[pred_text] = {}
|
60 |
textdic_easyocr[pred_text]['pred_confidence'] = pred_confidence
|
61 |
|
62 |
-
# create a
|
63 |
df = pd.DataFrame.from_dict(textdic_easyocr).T
|
64 |
st.table(df)
|
65 |
|
@@ -70,3 +70,5 @@ if file is not None:
|
|
70 |
|
71 |
else:
|
72 |
st.write("Upload your image")
|
|
|
|
|
|
59 |
textdic_easyocr[pred_text] = {}
|
60 |
textdic_easyocr[pred_text]['pred_confidence'] = pred_confidence
|
61 |
|
62 |
+
# create a data frame which shows the predicted text and prediction confidence
|
63 |
df = pd.DataFrame.from_dict(textdic_easyocr).T
|
64 |
st.table(df)
|
65 |
|
|
|
70 |
|
71 |
else:
|
72 |
st.write("Upload your image")
|
73 |
+
|
74 |
+
|