This problem has been solved.
In the file stramlite_call.py that runs the streamlite package, I added the lines:
“–server.enableWebsocketCompression=false”,
“–server.enableXsrfProtection=false”,
By doing this, the app gets permissions to upoad files to the page to be evaluated by the rating.