File size: 278 Bytes
1598f31
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import os

from apps.agents.agents import construct_blocks, parse_arguments

if __name__ == "__main__":

    api_key = os.environ["OPENAI_API_KEY"]

    args = parse_arguments()
    blocks = construct_blocks(api_key)
    blocks.queue(args.concurrency_count)
    blocks.launch()