visionhdstream commited on
Commit
77bd312
·
verified ·
1 Parent(s): be44200

Update colab boot launcher

Browse files
Files changed (1) hide show
  1. _colab_boot.py +2 -1
_colab_boot.py CHANGED
@@ -11,7 +11,8 @@ print("======================================================================")
11
 
12
  subprocess.run("pkill -f panel_app.py || true; pkill -f cloudflared || true", shell=True)
13
  subprocess.run("(apt-get update -qq && apt-get install -y -qq unrar p7zip-full ffmpeg) > /dev/null 2>&1", shell=True)
14
- subprocess.run([sys.executable, "-m", "pip", "install", "-q", "flask", "beautifulsoup4", "curl_cffi", "yt-dlp"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False)
 
15
  subprocess.run([sys.executable, "-m", "pip", "install", "-q", "-U", "--no-deps", "yt-dlp"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False)
16
 
17
  if not os.path.exists("/tmp/cloudflared"):
 
11
 
12
  subprocess.run("pkill -f panel_app.py || true; pkill -f cloudflared || true", shell=True)
13
  subprocess.run("(apt-get update -qq && apt-get install -y -qq unrar p7zip-full ffmpeg) > /dev/null 2>&1", shell=True)
14
+ subprocess.run([sys.executable, "-m", "pip", "install", "-q", "flask", "beautifulsoup4", "curl_cffi", "yt-dlp", "playwright"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False)
15
+ subprocess.run([sys.executable, "-m", "playwright", "install", "--with-deps", "chromium"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False)
16
  subprocess.run([sys.executable, "-m", "pip", "install", "-q", "-U", "--no-deps", "yt-dlp"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=False)
17
 
18
  if not os.path.exists("/tmp/cloudflared"):