File size: 268 Bytes
5168d07
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from modal_deploy import app
# Load the app and function
if __name__ == "__main__":
    youtube_url = "https://www.youtube.com/watch?v=cOiH2C6-p1Y"
    with app.run():
        result = download_youtube_video.remote(youtube_url)
        print("Result:", result)