Spaces:
Runtime error
Runtime error
Commit
·
9214ebb
1
Parent(s):
a87b5b7
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def find_layout(image, mode):
|
|
| 22 |
print("The variable image is of type:", type(image))
|
| 23 |
print("The variable img is of type:", type(img))
|
| 24 |
|
| 25 |
-
if mode is not None
|
| 26 |
mode = mode[0]
|
| 27 |
print("Mode: ", mode)
|
| 28 |
if mode=="LayoutAnalysis":
|
|
|
|
| 22 |
print("The variable image is of type:", type(image))
|
| 23 |
print("The variable img is of type:", type(img))
|
| 24 |
|
| 25 |
+
if mode is not None:
|
| 26 |
mode = mode[0]
|
| 27 |
print("Mode: ", mode)
|
| 28 |
if mode=="LayoutAnalysis":
|