Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +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:
|
| 40 |
for a in c.values():
|
|
|
|
| 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:
|
| 40 |
for a in c.values():
|