hantech commited on
Commit
201b7ed
1 Parent(s): bf0b467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def predict(filepath):
41
 
42
  width, height, _ = inp.shape
43
  if width>height:
44
- height, width, _ = img.shape
45
 
46
  texts=''
47
  for (bbox, text, prob) in bounds:
 
41
 
42
  width, height, _ = inp.shape
43
  if width>height:
44
+ height, width, _ = inp.shape
45
 
46
  texts=''
47
  for (bbox, text, prob) in bounds: