Train the neural database client with the selected PDF file.
(self)
| 129 | self.path.clear() |
| 130 | |
| 131 | def training(self): |
| 132 | """ |
| 133 | Train the neural database client with the selected PDF file. |
| 134 | """ |
| 135 | if not self.path: |
| 136 | messagebox.showwarning( |
| 137 | "No File Selected", "Please select a PDF file before training." |
| 138 | ) |
| 139 | return |
| 140 | |
| 141 | self.client.train(self.path[0]) |
| 142 | |
| 143 | messagebox.showinfo("Training Complete", "Training is done!") |
| 144 | |
| 145 | def processing(self): |
| 146 | """ |