We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e646dd commit 8c20c41Copy full SHA for 8c20c41
1 file changed
examples/example.py
@@ -170,16 +170,15 @@ async def main() -> int:
170
171
logger.info("Using deployment: %s", deployment_id)
172
173
- # Run classification with OAuth authentication - maximize resilience
+ # Run classification with OAuth authentication
174
options = AthenaOptions(
175
host=host,
176
resize_images=True,
177
deployment_id=deployment_id,
178
compress_images=True,
179
- timeout=None, # No timeout - allow infinite streaming
180
- keepalive_interval=5.0, # Frequent keepalives for max resilience
+ keepalive_interval=5.0,
181
affiliate=affiliate,
182
- max_batch_size=10, # Test with larger batch size
+ max_batch_size=10,
183
)
184
185
sent, received = await run_oauth_example(
0 commit comments