Help!, show output of ML python kernel to train the model manually

I am using the dedupe library (pandas version) and I need to show the end user the output of the python kernel so that he can train the model in a semi-supervised way:

I need the user to be able to interact with the model in order to train it correctly. Is there a way to incorporate the kernel output into streamlit?