I'm just now trying to load a UI file from QTCreator but the actual displayed GUI does not match with the Creator preview.
My Code if that helps:
import sys
from PyQt5 import QtWidgets, uic
print("hello")
class MainWindow(QtWidgets.QMainWindow):
    def __init__(self):
        super(MainWindow,self).__init__()
        uic.loadUi("vertical_garden.ui",self)
    
if __name__ == '__main__':
    app=QtWidgets.QApplication(sys.argv)
    mainwindow=MainWindow()
    widget=QtWidgets.QStackedWidget()
    widget.addWidget(mainwindow)
    widget.show()
    app.exec_()
Screenshots:

