Apply pytube patch to youtube_face_detection.py (#430)

This fixes the regex issue that hasn't been fixed in pytube yet, since they aren't maintaining the library.
This commit is contained in:
Eric Zhang
2023-08-30 12:49:29 -04:00
committed by GitHub
parent ec398fa2fc
commit 07930dcf08

View File

@@ -45,7 +45,7 @@ image = (
f"wget https://raw.githubusercontent.com/opencv/opencv/master/data/haarcascades/{FACE_CASCADE_FN} -P /root"
)
.pip_install(
"pytube @ git+https://github.com/oncename/pytube",
"pytube @ git+https://github.com/modal-labs/pytube",
"opencv-python~=4.7.0.72",
"moviepy~=1.0.3",
)