File size: 1,347 Bytes
6ad6b66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "provenance": []
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    },
    "language_info": {
      "name": "python"
    },
    "accelerator": "GPU",
    "gpuClass": "standard"
  },
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "# Clone and install dependencies"
      ],
      "metadata": {
        "id": "ZiuEHGjLiLq-"
      }
    },
    {
      "cell_type": "code",
      "source": [
        "! git clone https://github.com/EliasVincent/whisper-subtitles-webui\n",
        "! pip install -U pip\n",
        "! pip install -r whisper-subtitles-webui/requirements.txt\n",
        "! add-apt-repository -y ppa:savoury1/ffmpeg4\n",
        "! apt-get -qq install -y ffmpeg\n"
      ],
      "metadata": {
        "id": "cdhoSxCJiMFA"
      },
      "execution_count": null,
      "outputs": []
    },
    {
      "cell_type": "markdown",
      "source": [
        "# Start server"
      ],
      "metadata": {
        "id": "zj_Xi9baiqQk"
      }
    },
    {
      "cell_type": "code",
      "source": [
        "! python whisper-subtitles-webui/server.py --remote=True"
      ],
      "metadata": {
        "id": "fOC6bU2nui_r"
      },
      "execution_count": null,
      "outputs": []
    }
  ]
}