Files
gpt-pilot/pilot/main.py
Zvonimir Sabljic 8c58d2803d Renamed the repo
2023-08-16 14:57:55 +02:00

26 lines
514 B
Python

# main.py
from __future__ import print_function, unicode_literals
from dotenv import load_dotenv
from helpers.Project import Project
from utils.arguments import get_arguments
from logger.logger import logger
def init():
load_dotenv()
arguments = get_arguments()
logger.info(f"Starting with args: {arguments}")
return arguments
if __name__ == "__main__":
args = init()
# TODO get checkpoint from database and fill the project with it
project = Project(args)
project.start()