improve code:
import NAME_1
from pathlib import Path

import pandas as pd
import sqlalchemy as db
from PySide6.QtGui import QGuiApplication
from PySide6.QtWidgets import QApplication, QMainWindow, QLabel, QComboBox, QPushButton, QGridLayout, QWidget, \
    QFileDialog
from dotenv import load_dotenv

dotenv_path = Path('.env')
load_dotenv(dotenv_path=dotenv_path)
DBUSER = NAME_1.getenv('DBUSER')
DBPASSWORD = NAME_1.getenv('DBPASSWORD')
DATABASE = NAME_1.getenv('DATABASE')
HOST = NAME_1.getenv('HOST')
PORT = NAME_1.getenv('PORT')


class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()

        # Create GUI elements
        self.label_month = QLabel('Месяц:', self)
        self.combo_month = QComboBox(self)

        # Add all months to the combo_month QComboBox
        self.combo_month.addItems(
            ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь',
             'Декабрь'])

        self.folder_label = QLabel("Папка для сохранения:")
        self.folder_button = QPushButton("Выбрать папку")
        self.folder_button.clicked.connect(self.select_folder)
        self.files_path_label = QLabel("")

        self.label_year = QLabel('Год:', self)
        self.combo_year = QComboBox(self)
        self.combo_year.addItem('2023')

        self.button_run_query_dwp = QPushButton('Рабочее время', self)
        self.button_run_query_dwp.clicked.connect(self.run_query_to_desktop_working_periods)
        self.button_run_query_dat = QPushButton('Время работы программ', self)
        self.button_run_query_dat.clicked.connect(self.run_query_to_desktop_application_time)

        # Set GUI layout
        layout = QGridLayout()
        layout.addWidget(self.folder_label, 0, 0)
        layout.addWidget(self.folder_button, 0, 1)
        layout.addWidget(self.files_path_label, 1, 0, 1, 2)

        layout.addWidget(self.label_month, 2, 0)
        layout.addWidget(self.combo_month, 2, 1)

        layout.addWidget(self.label_year, 3, 0)
        layout.addWidget(self.combo_year, 3, 1)

        layout.addWidget(self.button_run_query_dwp, 4, 0, 1, 2)
        layout.addWidget(self.button_run_query_dat, 5, 0, 1, 2)

        central_widget = QWidget()
        central_widget.setLayout(layout)
        self.setCentralWidget(central_widget)

        screen_rect = QGuiApplication.primaryScreen().availableGeometry()
        width = 300
        height = 200
        x = (screen_rect.width() - width) / 2
        y = (screen_rect.height() - height) / 2
        self.setGeometry(x, y, width, he Add stress words which are capitalized. Limit those stress words for less than 19 times.
user