App is not loading in HF spaces

My Gradio app is working locally fine but when i deploy it in HF spaces , i loads and black screen appears what am i doing wrong ?

Issue has been resolved when i changed my space to public space .