Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -188,7 +188,9 @@ def run_structure_analysis(ocr_input: OcrInput):
|
|
| 188 |
|
| 189 |
print("** Request for structure analysis received. Running structure_engine.**")
|
| 190 |
raw_result = structure_engine.predict(img)
|
| 191 |
-
|
|
|
|
|
|
|
| 192 |
print("** Structure Analysis Complete. Converting to JSON-safe **")
|
| 193 |
json_safe_result = clean_ppstructure_result(raw_result)
|
| 194 |
#return {"result": json_safe_result}
|
|
|
|
| 188 |
|
| 189 |
print("** Request for structure analysis received. Running structure_engine.**")
|
| 190 |
raw_result = structure_engine.predict(img)
|
| 191 |
+
print("!! Start of raw data !!")
|
| 192 |
+
print(raw_result)
|
| 193 |
+
print("!! End of raw data !!")
|
| 194 |
print("** Structure Analysis Complete. Converting to JSON-safe **")
|
| 195 |
json_safe_result = clean_ppstructure_result(raw_result)
|
| 196 |
#return {"result": json_safe_result}
|