!pip install faster-whisper
!pip install googletrans==3.1.0a0
!pip install pysubs2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "background": "#2f2f2f", | |
| "foreground": "#26C6DA", | |
| "leading_diamond": "\ue0c7\u2593", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import uuid | |
| import time | |
| import math | |
| import multiprocessing | |
| from abc import ABC, abstractmethod | |
| from typing import ( | |
| List, | |
| Optional, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| # Function to get Docker API version | |
| get_docker_api_version() { | |
| docker version --format '{{.Server.APIVersion}}' | |
| } | |
| # Function to get volume paths from docker compose and backup | |
| backup_volumes() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| set -u | |
| if [ $# -lt 1 ]; then | |
| echo "Usage: $0 BASE_MODEL [DRAFT_MODEL] [--skip-base] [--skip-draft] [--skip-sd]" | |
| exit 1 | |
| fi | |
| BASE_MODEL="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| llm: | |
| image: ghcr.io/ggml-org/llama.cpp:server-cuda-b5391 | |
| ports: | |
| - "7071:8080" | |
| volumes: | |
| - ./models:/models | |
| env_file: | |
| - llm.env | |
| deploy: |
OlderNewer