Refactor UI module and add launcher function

This commit is contained in:
2024-02-22 15:12:56 +01:00
parent 7c9dcb1702
commit 8c76140b38
3 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
from ui import GenerateUI
from ui import launch
from dotenv import load_dotenv
from src.models import init_db
@@ -6,5 +6,4 @@ load_dotenv()
if __name__ == "__main__":
init_db()
ui_generator = GenerateUI()
ui_generator.launch_ui()
launch()