Skip to content

Gui launcher system

fima requested to merge gui_launcher_system into main

Added the following tho each GUI:


if __name__ == "__main__":
    # Get port using the QIM API
    port_dict = internal_tools.get_port_dict()
    internal_tools.gradio_header(Interface().title, port_dict["port"])

    # Creates interface
    app = Interface().create_interface()
    app.launch(server_name="0.0.0.0", server_port=int(port_dict["port"]))

This allows a server to be quickly launched using the QIM port.

Merge request reports