Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 793 Bytes

RUN.md

File metadata and controls

30 lines (23 loc) · 793 Bytes

1. Creating a Python Environment :

python -m venv env

2. Installing Django and Starting Project :

Installing Whisper :

pip install git+https://github.com/openai/whisper.git

Pytube Error :

 function_patterns = [
        # https://github.com/ytdl-org/youtube-dl/issues/29326#issuecomment-865985377
        # https://github.com/yt-dlp/yt-dlp/commit/48416bc4a8f1d5ff07d5977659cb8ece7640dcd8
        # var Bpa = [iha];
        # ...
        # a.C && (b = a.get("n")) && (b = Bpa[0](b), a.set("n", b),
        # Bpa.length || iha("")) }};
        # In the above case, `iha` is the relevant function name
        r'a\.[a-zA-Z]\s*&&\s*\([a-z]\s*=\s*a\.get\("n"\)\)\s*&&.*?\|\|\s*([a-z]+)',
        r'\([a-z]\s*=\s*([a-zA-Z0-9$]+)(\[\d+\])?\([a-z]\)',
    ]