from scipaperloader.celery import celery, configure_celery # Configure celery with Flask app configure_celery() if __name__ == '__main__': celery.start()