Spaces:
Runtime error
Runtime error
OCR to UI
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def get_text_prediction(imgpath):
|
|
34 |
for i in result:
|
35 |
text.append(i[1])
|
36 |
text = " ".join(text)
|
|
|
37 |
t_pred = get_inference(text)
|
38 |
t_pred_c = []
|
39 |
for c in t_pred:
|
|
|
34 |
for i in result:
|
35 |
text.append(i[1])
|
36 |
text = " ".join(text)
|
37 |
+
st.write(text)
|
38 |
t_pred = get_inference(text)
|
39 |
t_pred_c = []
|
40 |
for c in t_pred:
|