Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

Update rembg.ipynb

Arhenniuss512db437fa6e
diff --git a/rembg.ipynb b/rembg.ipynb
index 119779e..9efe8a6 100644
--- a/rembg.ipynb
+++ b/rembg.ipynb
@@ -30,62 +30,9 @@
],
"source": [
"! pip install \"rembg[gpu,cli]\"\n",
- "! git clone https://github.com/danielgatis/rembg.git"
- ]
- },
- {
- "cell_type": "code",
- "source": [
- "cd rembg/"
- ],
- "metadata": {
- "colab": {
- "base_uri": "https://localhost:8080/"
- },
- "id": "Eu-NvAFeyKIX",
- "outputId": "d7cce54f-e3b7-4879-8313-c23c432d324b"
- },
- "execution_count": 4,
- "outputs": [
- {
- "output_type": "stream",
- "name": "stdout",
- "text": [
- "/content/rembg\n"
- ]
- }
- ]
- },
- {
- "cell_type": "code",
- "source": [
- "! wget https://huggingface.co/spaces/KenjieDec/RemBG/resolve/main/app.py\n"
- ],
- "metadata": {
- "colab": {
- "base_uri": "https://localhost:8080/"
- },
- "id": "pHhQCQvDy2yv",
- "outputId": "96c28494-4bcf-4574-dccc-5345f28ec5e5"
- },
- "execution_count": 5,
- "outputs": [
- ]
- },
- {
- "cell_type": "code",
- "source": [
- "!python app.py --share"
- ],
- "metadata": {
- "colab": {
- "base_uri": "https://localhost:8080/"
- },
- "id": "exMGiaIruPIp",
- "outputId": "660061fd-7df9-4516-cae9-83194c16e50c"
- },
- "execution_count": null,
- "outputs": [
+ "! git clone https://huggingface.co/spaces/KenjieDec/RemBG\n",
+ "%cd RemBG\n",
+ "!python app.py"
]
}
]