Spaces:
Sleeping
Sleeping
Chandima Prabhath
Enhance job initialization and progress tracking; update .gitignore to exclude cache directories
15909e3
| from rq import Worker | |
| from video_encoder.config import RedisConfig | |
| if __name__ == "__main__": | |
| worker = Worker([RedisConfig.QUEUE_NAME], connection=RedisConfig.get_connection(), default_result_ttl=3600) | |
| worker.work() | |