public Form1() { InitializeComponent(); brain = new Brain(this); UIManager.Instance.setForm(this); GPT2PythonThread.StartPythonThread(); }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { GPT2PythonThread.StopPythonThread(); }