Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def predict(filepath):
|
|
| 41 |
|
| 42 |
width, height, _ = inp.shape
|
| 43 |
if width>height:
|
| 44 |
-
height, width, _ =
|
| 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:
|