i have a simple function in fastapi python
url="some_random_video_url_here"
re = requests.get(url)
with open("download/hello.png", 'wb') as file: #save hello.png to download folder
file.write(re.content)
file.close()
this function work locally fine and download image and any files bot when upload on heroku not download image and save in staticsFiles folder
please help