| import warnings | |
| warnings.filterwarnings("ignore", message=".*TqdmWarning.*") | |
| from dotenv import load_dotenv | |
| _ = load_dotenv() | |
| from tools import create_workout_table_graph | |
| from app import WorkoutTableGUI | |
| # This file is kept for backward compatibility | |
| # The functionality has been moved to tools.py and app.py | |
| def create_workout_table(): | |
| """ | |
| Create an workout table instance with the graph and GUI | |
| """ | |
| graph = create_workout_table_graph() | |
| return WorkoutTableGUI(graph) | |
| if __name__ == "__main__": | |
| workout_table = create_workout_table() | |
| workout_table.launch() | |