Example GUI for Command line capable machine learning programs

This is an example GUI made in PysimpleGUI and Tkinter, mainly for machine learning programs that lacks simple yet proper GUI. you only need a couple of simple python scripts with minimal requirements.

It supports:

  • Multiple file selection and evaluation
  • Re-rendering without reevaluation
  • Saving evaluated results
  • Tiny output dialog, useful for debugging and not recreating text out dialog
  • (Naturally) any ML programs you made in python.



  1. Clone this repository, or copy all python files to your desired repository.

  2. install PySimpleGUI, along with other required libraries using pip. you need numpy, Pillow, matplotlib, and PySimpleGUI.

    pip install -r requirements.txt
  3. change content in main.py to plug in your ML program into GUI. You do not need evaluate.py after modification, since what it does is give you some example about how things work.


python main.py

Please check main.py and evaluate.py for how things work. evaluate.py contains stub evaluator without any ‘Evaluation’, so technically no Tensorflow / Keras / PyTorch is required.

In video



This repository follows MIT License. check LICENSE and license at the sidebar for more information. You can also buy me a beer if you think it is worth it.

While this repository DOES NOT CONTAIN ANY OF THE LIBRARY CODE BELOW, I think it is great idea to acknowledge the great developers of FOSS libraries.

For example images:


View Github