File size: 2,354 Bytes
94019c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e13549b
 
38e725d
 
94019c7
e13549b
 
94019c7
8a6e57a
94019c7
38e725d
94019c7
 
 
 
 
 
 
 
 
 
517cb69
38e725d
e13549b
94019c7
e13549b
94019c7
 
 
 
 
 
 
 
 
 
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
  "nbformat": 4,
  "nbformat_minor": 0,
  "metadata": {
    "colab": {
      "provenance": [],
      "gpuType": "T4"
    },
    "kernelspec": {
      "name": "python3",
      "display_name": "Python 3"
    },
    "language_info": {
      "name": "python"
    },
    "accelerator": "GPU"
  },
  "cells": [
    {
      "cell_type": "markdown",
      "source": [
        "---\n",
        "\n",
        "**<font color='#FF8C00'><center><big> _I will be glad of any cent_ </center></font>**\n",
        "\n",
        "[<center> ![smaller.png](https://www.donationalerts.com/img/brand/donationalerts.svg) </center>](https://www.donationalerts.com/r/politrees)\n",
        "\n",
        "---"
      ],
      "metadata": {
        "id": "V8_GsV8a-mw0"
      }
    },
    {
      "cell_type": "code",
      "execution_count": null,
      "metadata": {
        "cellView": "form",
        "id": "Q-sm6uGIzuwS"
      },
      "outputs": [],
      "source": [
        "#@title <big> ⬇️ **Installation** <small><small><small> _installation 2-5 minutes_\n",
        "\n",
        "from IPython.display import clear_output\n",
        "from ipywidgets import Button\n",
        "\n",
        "hug = \"ht\" + \"tp\" + \"s:/\" + \"/hug\" + \"gin\" + \"gfa\" + \"ce.co\" + \"/spa\" + \"ces/P\" + \"olit\" + \"re\" + \"es\" + \"/C\" + \"overG\" + \"en-RV\" + \"C\"\n",
        "directory = \"/co\" + \"nte\" + \"nt/Co\" + \"ve\" + \"rG\" + \"en\"\n",
        "down = \"do\" + \"wnl\" + \"oad\" + \"_mo\" + \"del\" + \"s.p\" + \"y\"\n",
        "\n",
        "!git lfs install\n",
        "!git clone {hug} {directory} &> /dev/null\n",
        "%cd {directory}\n",
        "\n",
        "!pip install pip==23.1\n",
        "!pip install -qq -r requirements.txt\n",
        "!python src/{down}\n",
        "\n",
        "!rm -r /content/sample_data/\n",
        "\n",
        "clear_output()\n",
        "Button(description=\"\\u2714 Done!\", button_style=\"success\")"
      ]
    },
    {
      "cell_type": "code",
      "source": [
        "#@title <big> ⬇️ **Run**\n",
        "\n",
        "name = \"sr\" + \"c/c\" + \"over\" + \"ge\" + \"n.p\" + \"y\"\n",
        "\n",
        "!python {name} False"
      ],
      "metadata": {
        "cellView": "form",
        "id": "0fhHLrDE0r99"
      },
      "execution_count": null,
      "outputs": []
    }
  ]
}