Hi,
I tried so many things before but still can’t fix the issue:
when i deploy the app, it can’t download mediapipe model with error13 Permisson denied.
Versions are latest on date
Here is the streamlit error while deploying:
File “/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 535, in _run_script
exec(code, module.dict)File “/mount/src/stre/0.py”, line 12, in
pose = mp_pose.Pose(model_complexity=2)File “/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/python/solutions/pose.py”, line 145, in init
_download_oss_pose_landmark_model(model_complexity)File “/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/python/solutions/pose.py”, line 100, in _download_oss_pose_landmark_model
download_utils.download_oss_model(File “/home/adminuser/venv/lib/python3.9/site-packages/mediapipe/python/solutions/download_utils.py”, line 32, in download_oss_model
with urllib.request.urlopen(model_url) as response, open(model_abspath,
and here is the github repo:
if anyone has suggestions that would be great!
Thanks
That I don’t know. There used to be the case that apps could write to that location, but that changed some months ago. Maybe these people deployed before that?
Are you aware of any such app that has been deployed to streamlit cloud recently?