Download weights from github repo in streamlit cloud

Hello :wave:,

I need to use this file in my dev, but can’t upload it to my repo because of the size.

How can i download it in streamlit cloud?

I need something like…

!wget -P pretrained_models

Thanks! :smile:

Hi @angelicaba23 -

You can use the requests library within Python in a similar way to wget:


1 Like