Python model on dbt cloud

Hi,

I am trying the deploy my python model and I am getting error “Schema has to be provided to write_pandas when a database is provided”. It works fine in my local. Is there any additional set up I am missing. I have also used Snowpark to build a ML model.

I have configured the dbt_project.yml file with DB and schema.

  python:
    +database: 
    +schema: 

Thanks Appreciate your help!!