Spaces:
Running
Running
root
commited on
Commit
·
03a4122
1
Parent(s):
f9f44fa
add params
Browse files
app.py
CHANGED
|
@@ -163,8 +163,8 @@ def _call_api(api_url: str, path_or_url: str, use_layout_detection: bool,
|
|
| 163 |
"file": b64,
|
| 164 |
"useLayoutDetection": bool(use_layout_detection),
|
| 165 |
"fileType": file_type,
|
| 166 |
-
"useDocUnwarping":
|
| 167 |
-
"useDocOrientationClassify":
|
| 168 |
}
|
| 169 |
if not use_layout_detection:
|
| 170 |
if not prompt_label:
|
|
|
|
| 163 |
"file": b64,
|
| 164 |
"useLayoutDetection": bool(use_layout_detection),
|
| 165 |
"fileType": file_type,
|
| 166 |
+
"useDocUnwarping":False,
|
| 167 |
+
"useDocOrientationClassify":False
|
| 168 |
}
|
| 169 |
if not use_layout_detection:
|
| 170 |
if not prompt_label:
|