Update colab boot launcher
Browse files- _colab_boot.py +1 -1
_colab_boot.py
CHANGED
|
@@ -11,7 +11,7 @@ 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", "requests", "beautifulsoup4", "huggingface_hub", "curl_cffi", "yt-dlp"], check=False)
|
| 15 |
|
| 16 |
if not os.path.exists("/tmp/cloudflared"):
|
| 17 |
subprocess.run("wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /tmp/cloudflared && chmod +x /tmp/cloudflared", shell=True)
|
|
|
|
| 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", "-U", "flask", "requests", "beautifulsoup4", "huggingface_hub", "curl_cffi", "yt-dlp"], check=False)
|
| 15 |
|
| 16 |
if not os.path.exists("/tmp/cloudflared"):
|
| 17 |
subprocess.run("wget -q https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /tmp/cloudflared && chmod +x /tmp/cloudflared", shell=True)
|