Printing statements to output


I created a function that sends an api request to a network switch to download a file,
since its take some time for the file to download I added time.sleep(90)

since I don’t want the user to wait untill the end of the 90 seconds without knowing the status, Can Gradio print a print statement to output?

Thank you!