root commited on
Commit
03a4122
·
1 Parent(s): f9f44fa

add params

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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":false,
167
- "useDocOrientationClassify":false
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: