Skip to content

Commit

Permalink
Merge pull request #95 from funstory-ai/develop
Browse files Browse the repository at this point in the history
fix(rpc_doclayout): increase HTTP request timeout and enable redirect following
  • Loading branch information
awwaawwa authored Feb 14, 2025
2 parents 7ec350c + c82af47 commit 8ee5ef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion babeldoc/docvision/rpc_doclayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def predict_layout(
"Content-Type": "application/msgpack",
"Accept": "application/msgpack",
},
timeout=30,
timeout=300,
follow_redirects=True,
)

logger.debug(f"Response status: {response.status_code}")
Expand Down

0 comments on commit 8ee5ef3

Please sign in to comment.