Space app size calculation

Guys, I need to find out the size of space apps on HuggingFace. I didn’t find its data in Hub API calls. Do you have any idea except to look for each file’s size in the app and calculate the size that way?

hi @amk9978, unfortunately we don’t have an API for that yet.
Could you exec df -lh via your app? that would give you summary of your disk usage

Thanks for your reply @radames.
It would be great if you could include the space and model size in the Hub API!