import sys
from PyQt5 import QtWidgets
# from gui import appGui as GUI
from gui import minimalGUI as GUI


def main():
    if not QtWidgets.QApplication.instance():
        app = QtWidgets.QApplication(sys.argv)
    else:
        app = QtWidgets.QApplication.instance()
    form = GUI.App()  # We set the form to be our ExampleApp (bsp1)
    form.show()  # Show the form
    sys.exit(app.exec_())  # and execute the app


if __name__ == '__main__':
    main()
