()
| 800 | await video_generator.render_video_fix_code(topic, theorem['description'], max_retries=args.max_retries) |
| 801 | |
| 802 | async def main(): |
| 803 | # Use the command-line argument for topic concurrency |
| 804 | topic_semaphore = asyncio.Semaphore(args.max_topic_concurrency) |
| 805 | tasks = [process_theorem(theorem, topic_semaphore) for theorem in theorems] |
| 806 | await asyncio.gather(*tasks) |
| 807 | |
| 808 | asyncio.run(main()) |
| 809 |
no test coverage detected