Spaces:
Runtime error
Runtime error
sabarinathan
commited on
Commit
•
7fbda7e
1
Parent(s):
5517375
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ class OCR():
|
|
76 |
|
77 |
label_name = self.label_dict[str(position)]
|
78 |
temp["text"] = label_name
|
79 |
-
|
80 |
temp["coord"] = coordinate[row] # Xmin,Ymin,Xmax,Ymax
|
81 |
|
82 |
output.append(temp)
|
|
|
76 |
|
77 |
label_name = self.label_dict[str(position)]
|
78 |
temp["text"] = label_name
|
79 |
+
temp["prob"] = str(predict[0][position])
|
80 |
temp["coord"] = coordinate[row] # Xmin,Ymin,Xmax,Ymax
|
81 |
|
82 |
output.append(temp)
|