Пример #1
0
 public Form1()
 {
     InitializeComponent();
     brain = new Brain(this);
     UIManager.Instance.setForm(this);
     GPT2PythonThread.StartPythonThread();
 }
Пример #2
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     GPT2PythonThread.StopPythonThread();
 }