Images not getting stored in database when publishing the app

I am creating an app with postgres database that is taking table name as an input.
Every thing is working fine but whenever I publish this app it worked perfectly on my side but when other are using it tables are being successfully created but images are failed to store in database. What I’m missing ?

Python(jupyter notebook)

After publishing the app:

image

A post was merged into an existing topic: Image storing issue in postgres