Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Update: Solved by adding git lfs install in workflow file:
- name: Set up Git LFS
run: |
git lfs install
git lfs fetch --all
git lfs checkout
I want to deploye a flask python app on Azure. I successfully deployed my app, but when running it, the log stream shows an error, and caused my app failed to start. My code reads a file which size larger than 100mb.
2023-08-11T22:36:05.157232990Z File "/tmp/xxx/antenv/lib/python3.8/site-packages/transformers/modeling_utils.py", line 465, in load_state_dict
2023-08-11T22:36:05.157241390Z raise OSError(
2023-08-11T22:36:05.157245790Z OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run `git lfs install` followed by `git lfs pull` in the folder you cloned.
I was able to run the app locally, but having this issue on web app.