sabarinathan commited on
Commit
7fbda7e
1 Parent(s): 5517375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ class OCR():
76
 
77
  label_name = self.label_dict[str(position)]
78
  temp["text"] = label_name
79
- #temp["prob"] = predict[0][position]
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)