Pop-Up window

I run a code in DP.py file, two window pops up (given below). I want to show/print both these pop-up windows on my streamlit app. (Both these are animated images showing seams). Don’t know how to do it please somebody help.

Hi @UjjwalG, welcome to the Streamlit community!

Can you post the code you are using, so it’s clearer what is triggering these popups?

In this case, you are using the OpenCV functionality to display pictures, which happens separate from Streamlit. You can use st.image to show images inline in the Streamlit app.

The point is, if you don’t want to pop-up the windows, then you can remove these and any other lines that pop-up other windows:

cv2.imshow('Final', image)