from jina import Flow
import os
os.environ['JINA_LOG_LEVEL'] = 'DEBUG'

if __name__ == '__main__':
    with Flow.load_config('flow.yml') as f:
        f.block()

from jina import Flow

if __name__ == '__main__':
    with Flow.load_config('flow.yml') as f:
        f.block()
