How to get descriptive error message

Hi,
I am fairly new to Huggingface spaces and trying to get an object detection model working on Docker + gradio spaces. I am getting this error message on the frontend but logs are empty. Any idea how can I get to know what this error is?

This is the main function:

def main():

demo = gr.Interface(face_detection_single_image, gr.Image(), "image")
demo.launch(server_name="0.0.0.0", server_port=7860, debug=True)