{ "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", "**
_I will be glad of any cent_
**\n", "\n", "[
![smaller.png](https://www.donationalerts.com/img/brand/donationalerts.svg)
](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 ⬇️ **Installation** _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 ⬇️ **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": [] } ] }