File size: 201 Bytes
be6c30d
b42075e
be6c30d
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import os

HF_SPACES = os.environ.get('HF_SPACES', '').lower() in ('true', '1', 'yes')

if not HF_SPACES:
    from .celery import app as celery_app
    __all__ = ('celery_app',)
else:
    __all__ = ()