Terminal print statements in a Gradio interface?

How can I show my terminal print statements in a Gradio interface ?