Spaces:
Runtime error
Runtime error
toufikzitouni commited on
Commit ·
15019e0
1
Parent(s): 8a8f85d
go back to app
Browse files- main.py → app.py +0 -0
- main.ipynb +40 -40
main.py → app.py
RENAMED
|
File without changes
|
main.ipynb
CHANGED
|
@@ -2,17 +2,17 @@
|
|
| 2 |
"cells": [
|
| 3 |
{
|
| 4 |
"cell_type": "code",
|
| 5 |
-
"execution_count":
|
| 6 |
"id": "30364f49-507a-474b-ac8c-bc60668a83d5",
|
| 7 |
"metadata": {},
|
| 8 |
"outputs": [],
|
| 9 |
"source": [
|
| 10 |
-
"#|default_exp
|
| 11 |
]
|
| 12 |
},
|
| 13 |
{
|
| 14 |
"cell_type": "code",
|
| 15 |
-
"execution_count":
|
| 16 |
"id": "22c0675e-0de0-4e5f-a92b-a903b2f6874a",
|
| 17 |
"metadata": {},
|
| 18 |
"outputs": [],
|
|
@@ -22,7 +22,7 @@
|
|
| 22 |
},
|
| 23 |
{
|
| 24 |
"cell_type": "code",
|
| 25 |
-
"execution_count":
|
| 26 |
"id": "63fa0ea9-142e-44ed-96fa-751e8dacc3ba",
|
| 27 |
"metadata": {},
|
| 28 |
"outputs": [
|
|
@@ -31,56 +31,56 @@
|
|
| 31 |
"output_type": "stream",
|
| 32 |
"text": [
|
| 33 |
"Requirement already satisfied: gradio in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (3.16.1)\n",
|
| 34 |
-
"Requirement already satisfied:
|
|
|
|
|
|
|
| 35 |
"Requirement already satisfied: websockets>=10.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (10.4)\n",
|
| 36 |
-
"Requirement already satisfied:
|
|
|
|
| 37 |
"Requirement already satisfied: matplotlib in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.6.2)\n",
|
| 38 |
-
"Requirement already satisfied:
|
| 39 |
-
"Requirement already satisfied:
|
| 40 |
"Requirement already satisfied: uvicorn in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.20.0)\n",
|
|
|
|
| 41 |
"Requirement already satisfied: numpy in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (1.23.5)\n",
|
|
|
|
|
|
|
| 42 |
"Requirement already satisfied: pydub in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.25.1)\n",
|
| 43 |
-
"Requirement already satisfied:
|
| 44 |
-
"Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (4.4.0)\n",
|
| 45 |
-
"Requirement already satisfied: pillow in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (9.3.0)\n",
|
| 46 |
-
"Requirement already satisfied: jinja2 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.1.2)\n",
|
| 47 |
-
"Requirement already satisfied: python-multipart in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.0.5)\n",
|
| 48 |
-
"Requirement already satisfied: orjson in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.8.5)\n",
|
| 49 |
"Requirement already satisfied: ffmpy in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.3.0)\n",
|
|
|
|
|
|
|
|
|
|
| 50 |
"Requirement already satisfied: pycryptodome in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.16.0)\n",
|
| 51 |
-
"Requirement already satisfied:
|
| 52 |
"Requirement already satisfied: aiohttp in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.8.3)\n",
|
| 53 |
-
"Requirement already satisfied: markupsafe in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (2.1.1)\n",
|
| 54 |
-
"Requirement already satisfied: markdown-it-py[linkify,plugins] in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (2.1.0)\n",
|
| 55 |
-
"Requirement already satisfied: fastapi in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.89.1)\n",
|
| 56 |
-
"Requirement already satisfied: pandas in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (1.5.2)\n",
|
| 57 |
-
"Requirement already satisfied: toolz in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from altair>=4.2.0->gradio) (0.12.0)\n",
|
| 58 |
"Requirement already satisfied: entrypoints in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from altair>=4.2.0->gradio) (0.4)\n",
|
| 59 |
"Requirement already satisfied: jsonschema>=3.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from altair>=4.2.0->gradio) (4.16.0)\n",
|
|
|
|
| 60 |
"Requirement already satisfied: python-dateutil>=2.8.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from pandas->gradio) (2.8.2)\n",
|
| 61 |
"Requirement already satisfied: pytz>=2020.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from pandas->gradio) (2022.7)\n",
|
| 62 |
-
"Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (4.0.2)\n",
|
| 63 |
-
"Requirement already satisfied: yarl<2.0,>=1.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (1.8.2)\n",
|
| 64 |
"Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (1.3.3)\n",
|
| 65 |
-
"Requirement already satisfied: attrs>=17.3.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (22.1.0)\n",
|
| 66 |
-
"Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (6.0.4)\n",
|
| 67 |
"Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (1.3.1)\n",
|
|
|
|
|
|
|
| 68 |
"Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (2.0.4)\n",
|
|
|
|
|
|
|
| 69 |
"Requirement already satisfied: starlette==0.22.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from fastapi->gradio) (0.22.0)\n",
|
| 70 |
"Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from starlette==0.22.0->fastapi->gradio) (3.5.0)\n",
|
| 71 |
-
"Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (0.16.3)\n",
|
| 72 |
"Requirement already satisfied: certifi in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (2022.12.7)\n",
|
| 73 |
-
"Requirement already satisfied:
|
| 74 |
"Requirement already satisfied: sniffio in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (1.2.0)\n",
|
|
|
|
| 75 |
"Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (0.1.2)\n",
|
| 76 |
"Requirement already satisfied: mdit-py-plugins in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (0.3.3)\n",
|
| 77 |
"Requirement already satisfied: linkify-it-py~=1.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (1.0.3)\n",
|
|
|
|
| 78 |
"Requirement already satisfied: cycler>=0.10 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (0.11.0)\n",
|
|
|
|
| 79 |
"Requirement already satisfied: kiwisolver>=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (1.4.4)\n",
|
| 80 |
-
"Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (1.0.5)\n",
|
| 81 |
-
"Requirement already satisfied: pyparsing>=2.2.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (3.0.9)\n",
|
| 82 |
"Requirement already satisfied: packaging>=20.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (22.0)\n",
|
| 83 |
-
"Requirement already satisfied:
|
| 84 |
"Requirement already satisfied: six>=1.4.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from python-multipart->gradio) (1.16.0)\n",
|
| 85 |
"Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from requests->gradio) (3.4)\n",
|
| 86 |
"Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from requests->gradio) (1.26.13)\n",
|
|
@@ -97,7 +97,7 @@
|
|
| 97 |
},
|
| 98 |
{
|
| 99 |
"cell_type": "code",
|
| 100 |
-
"execution_count":
|
| 101 |
"id": "7658cf93-38a8-4f3c-a773-ec7b7777652d",
|
| 102 |
"metadata": {},
|
| 103 |
"outputs": [],
|
|
@@ -111,7 +111,7 @@
|
|
| 111 |
},
|
| 112 |
{
|
| 113 |
"cell_type": "code",
|
| 114 |
-
"execution_count":
|
| 115 |
"id": "9c6c2b95-2f0d-4ac5-8d9c-59b420ba8d8e",
|
| 116 |
"metadata": {},
|
| 117 |
"outputs": [],
|
|
@@ -121,7 +121,7 @@
|
|
| 121 |
},
|
| 122 |
{
|
| 123 |
"cell_type": "code",
|
| 124 |
-
"execution_count":
|
| 125 |
"id": "a892c11a-33bc-4947-a7b2-04237df332d8",
|
| 126 |
"metadata": {},
|
| 127 |
"outputs": [],
|
|
@@ -134,7 +134,7 @@
|
|
| 134 |
},
|
| 135 |
{
|
| 136 |
"cell_type": "code",
|
| 137 |
-
"execution_count":
|
| 138 |
"id": "1a83ccd5-ec38-4f03-b937-fabe5f9c63b1",
|
| 139 |
"metadata": {},
|
| 140 |
"outputs": [],
|
|
@@ -145,7 +145,7 @@
|
|
| 145 |
},
|
| 146 |
{
|
| 147 |
"cell_type": "code",
|
| 148 |
-
"execution_count":
|
| 149 |
"id": "9a4418cc-4bb4-4e9c-9ae8-0ba1f42e7af7",
|
| 150 |
"metadata": {},
|
| 151 |
"outputs": [],
|
|
@@ -160,7 +160,7 @@
|
|
| 160 |
},
|
| 161 |
{
|
| 162 |
"cell_type": "code",
|
| 163 |
-
"execution_count":
|
| 164 |
"id": "79085d0b-8db7-43d4-9da3-0d764c302888",
|
| 165 |
"metadata": {},
|
| 166 |
"outputs": [
|
|
@@ -207,7 +207,7 @@
|
|
| 207 |
"{'Dog': 3.103109945650634e-14, 'Cat': 1.0}"
|
| 208 |
]
|
| 209 |
},
|
| 210 |
-
"execution_count":
|
| 211 |
"metadata": {},
|
| 212 |
"output_type": "execute_result"
|
| 213 |
}
|
|
@@ -218,7 +218,7 @@
|
|
| 218 |
},
|
| 219 |
{
|
| 220 |
"cell_type": "code",
|
| 221 |
-
"execution_count":
|
| 222 |
"id": "b1155832-5e29-4f88-aea4-85a6261bedfd",
|
| 223 |
"metadata": {},
|
| 224 |
"outputs": [
|
|
@@ -240,7 +240,7 @@
|
|
| 240 |
"name": "stdout",
|
| 241 |
"output_type": "stream",
|
| 242 |
"text": [
|
| 243 |
-
"Running on local URL: http://127.0.0.1:
|
| 244 |
"\n",
|
| 245 |
"To create a public link, set `share=True` in `launch()`.\n"
|
| 246 |
]
|
|
@@ -249,7 +249,7 @@
|
|
| 249 |
"data": {
|
| 250 |
"text/plain": []
|
| 251 |
},
|
| 252 |
-
"execution_count":
|
| 253 |
"metadata": {},
|
| 254 |
"output_type": "execute_result"
|
| 255 |
}
|
|
@@ -266,7 +266,7 @@
|
|
| 266 |
},
|
| 267 |
{
|
| 268 |
"cell_type": "code",
|
| 269 |
-
"execution_count":
|
| 270 |
"id": "419e727b-5fc0-4a19-94e3-7c9c9c8c22ad",
|
| 271 |
"metadata": {},
|
| 272 |
"outputs": [
|
|
|
|
| 2 |
"cells": [
|
| 3 |
{
|
| 4 |
"cell_type": "code",
|
| 5 |
+
"execution_count": 31,
|
| 6 |
"id": "30364f49-507a-474b-ac8c-bc60668a83d5",
|
| 7 |
"metadata": {},
|
| 8 |
"outputs": [],
|
| 9 |
"source": [
|
| 10 |
+
"#|default_exp app"
|
| 11 |
]
|
| 12 |
},
|
| 13 |
{
|
| 14 |
"cell_type": "code",
|
| 15 |
+
"execution_count": 32,
|
| 16 |
"id": "22c0675e-0de0-4e5f-a92b-a903b2f6874a",
|
| 17 |
"metadata": {},
|
| 18 |
"outputs": [],
|
|
|
|
| 22 |
},
|
| 23 |
{
|
| 24 |
"cell_type": "code",
|
| 25 |
+
"execution_count": 33,
|
| 26 |
"id": "63fa0ea9-142e-44ed-96fa-751e8dacc3ba",
|
| 27 |
"metadata": {},
|
| 28 |
"outputs": [
|
|
|
|
| 31 |
"output_type": "stream",
|
| 32 |
"text": [
|
| 33 |
"Requirement already satisfied: gradio in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (3.16.1)\n",
|
| 34 |
+
"Requirement already satisfied: markdown-it-py[linkify,plugins] in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (2.1.0)\n",
|
| 35 |
+
"Requirement already satisfied: requests in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (2.28.1)\n",
|
| 36 |
+
"Requirement already satisfied: jinja2 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.1.2)\n",
|
| 37 |
"Requirement already satisfied: websockets>=10.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (10.4)\n",
|
| 38 |
+
"Requirement already satisfied: pandas in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (1.5.2)\n",
|
| 39 |
+
"Requirement already satisfied: pydantic in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (1.8.2)\n",
|
| 40 |
"Requirement already satisfied: matplotlib in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.6.2)\n",
|
| 41 |
+
"Requirement already satisfied: orjson in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.8.5)\n",
|
| 42 |
+
"Requirement already satisfied: python-multipart in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.0.5)\n",
|
| 43 |
"Requirement already satisfied: uvicorn in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.20.0)\n",
|
| 44 |
+
"Requirement already satisfied: fsspec in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (2022.11.0)\n",
|
| 45 |
"Requirement already satisfied: numpy in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (1.23.5)\n",
|
| 46 |
+
"Requirement already satisfied: fastapi in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.89.1)\n",
|
| 47 |
+
"Requirement already satisfied: httpx in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.23.3)\n",
|
| 48 |
"Requirement already satisfied: pydub in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.25.1)\n",
|
| 49 |
+
"Requirement already satisfied: markupsafe in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (2.1.1)\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
"Requirement already satisfied: ffmpy in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (0.3.0)\n",
|
| 51 |
+
"Requirement already satisfied: typing-extensions in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (4.4.0)\n",
|
| 52 |
+
"Requirement already satisfied: pyyaml in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (6.0)\n",
|
| 53 |
+
"Requirement already satisfied: altair>=4.2.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (4.2.0)\n",
|
| 54 |
"Requirement already satisfied: pycryptodome in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.16.0)\n",
|
| 55 |
+
"Requirement already satisfied: pillow in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (9.3.0)\n",
|
| 56 |
"Requirement already satisfied: aiohttp in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from gradio) (3.8.3)\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
"Requirement already satisfied: entrypoints in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from altair>=4.2.0->gradio) (0.4)\n",
|
| 58 |
"Requirement already satisfied: jsonschema>=3.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from altair>=4.2.0->gradio) (4.16.0)\n",
|
| 59 |
+
"Requirement already satisfied: toolz in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from altair>=4.2.0->gradio) (0.12.0)\n",
|
| 60 |
"Requirement already satisfied: python-dateutil>=2.8.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from pandas->gradio) (2.8.2)\n",
|
| 61 |
"Requirement already satisfied: pytz>=2020.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from pandas->gradio) (2022.7)\n",
|
|
|
|
|
|
|
| 62 |
"Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (1.3.3)\n",
|
|
|
|
|
|
|
| 63 |
"Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (1.3.1)\n",
|
| 64 |
+
"Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (4.0.2)\n",
|
| 65 |
+
"Requirement already satisfied: attrs>=17.3.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (22.1.0)\n",
|
| 66 |
"Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (2.0.4)\n",
|
| 67 |
+
"Requirement already satisfied: yarl<2.0,>=1.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (1.8.2)\n",
|
| 68 |
+
"Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from aiohttp->gradio) (6.0.4)\n",
|
| 69 |
"Requirement already satisfied: starlette==0.22.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from fastapi->gradio) (0.22.0)\n",
|
| 70 |
"Requirement already satisfied: anyio<5,>=3.4.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from starlette==0.22.0->fastapi->gradio) (3.5.0)\n",
|
|
|
|
| 71 |
"Requirement already satisfied: certifi in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (2022.12.7)\n",
|
| 72 |
+
"Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (0.16.3)\n",
|
| 73 |
"Requirement already satisfied: sniffio in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (1.2.0)\n",
|
| 74 |
+
"Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from httpx->gradio) (1.5.0)\n",
|
| 75 |
"Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (0.1.2)\n",
|
| 76 |
"Requirement already satisfied: mdit-py-plugins in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (0.3.3)\n",
|
| 77 |
"Requirement already satisfied: linkify-it-py~=1.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from markdown-it-py[linkify,plugins]->gradio) (1.0.3)\n",
|
| 78 |
+
"Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (1.0.5)\n",
|
| 79 |
"Requirement already satisfied: cycler>=0.10 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (0.11.0)\n",
|
| 80 |
+
"Requirement already satisfied: fonttools>=4.22.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (4.25.0)\n",
|
| 81 |
"Requirement already satisfied: kiwisolver>=1.0.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (1.4.4)\n",
|
|
|
|
|
|
|
| 82 |
"Requirement already satisfied: packaging>=20.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (22.0)\n",
|
| 83 |
+
"Requirement already satisfied: pyparsing>=2.2.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from matplotlib->gradio) (3.0.9)\n",
|
| 84 |
"Requirement already satisfied: six>=1.4.0 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from python-multipart->gradio) (1.16.0)\n",
|
| 85 |
"Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from requests->gradio) (3.4)\n",
|
| 86 |
"Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/homebrew/Caskroom/miniforge/base/envs/fastai/lib/python3.10/site-packages (from requests->gradio) (1.26.13)\n",
|
|
|
|
| 97 |
},
|
| 98 |
{
|
| 99 |
"cell_type": "code",
|
| 100 |
+
"execution_count": 34,
|
| 101 |
"id": "7658cf93-38a8-4f3c-a773-ec7b7777652d",
|
| 102 |
"metadata": {},
|
| 103 |
"outputs": [],
|
|
|
|
| 111 |
},
|
| 112 |
{
|
| 113 |
"cell_type": "code",
|
| 114 |
+
"execution_count": 35,
|
| 115 |
"id": "9c6c2b95-2f0d-4ac5-8d9c-59b420ba8d8e",
|
| 116 |
"metadata": {},
|
| 117 |
"outputs": [],
|
|
|
|
| 121 |
},
|
| 122 |
{
|
| 123 |
"cell_type": "code",
|
| 124 |
+
"execution_count": 36,
|
| 125 |
"id": "a892c11a-33bc-4947-a7b2-04237df332d8",
|
| 126 |
"metadata": {},
|
| 127 |
"outputs": [],
|
|
|
|
| 134 |
},
|
| 135 |
{
|
| 136 |
"cell_type": "code",
|
| 137 |
+
"execution_count": 37,
|
| 138 |
"id": "1a83ccd5-ec38-4f03-b937-fabe5f9c63b1",
|
| 139 |
"metadata": {},
|
| 140 |
"outputs": [],
|
|
|
|
| 145 |
},
|
| 146 |
{
|
| 147 |
"cell_type": "code",
|
| 148 |
+
"execution_count": 38,
|
| 149 |
"id": "9a4418cc-4bb4-4e9c-9ae8-0ba1f42e7af7",
|
| 150 |
"metadata": {},
|
| 151 |
"outputs": [],
|
|
|
|
| 160 |
},
|
| 161 |
{
|
| 162 |
"cell_type": "code",
|
| 163 |
+
"execution_count": 39,
|
| 164 |
"id": "79085d0b-8db7-43d4-9da3-0d764c302888",
|
| 165 |
"metadata": {},
|
| 166 |
"outputs": [
|
|
|
|
| 207 |
"{'Dog': 3.103109945650634e-14, 'Cat': 1.0}"
|
| 208 |
]
|
| 209 |
},
|
| 210 |
+
"execution_count": 39,
|
| 211 |
"metadata": {},
|
| 212 |
"output_type": "execute_result"
|
| 213 |
}
|
|
|
|
| 218 |
},
|
| 219 |
{
|
| 220 |
"cell_type": "code",
|
| 221 |
+
"execution_count": 40,
|
| 222 |
"id": "b1155832-5e29-4f88-aea4-85a6261bedfd",
|
| 223 |
"metadata": {},
|
| 224 |
"outputs": [
|
|
|
|
| 240 |
"name": "stdout",
|
| 241 |
"output_type": "stream",
|
| 242 |
"text": [
|
| 243 |
+
"Running on local URL: http://127.0.0.1:7862\n",
|
| 244 |
"\n",
|
| 245 |
"To create a public link, set `share=True` in `launch()`.\n"
|
| 246 |
]
|
|
|
|
| 249 |
"data": {
|
| 250 |
"text/plain": []
|
| 251 |
},
|
| 252 |
+
"execution_count": 40,
|
| 253 |
"metadata": {},
|
| 254 |
"output_type": "execute_result"
|
| 255 |
}
|
|
|
|
| 266 |
},
|
| 267 |
{
|
| 268 |
"cell_type": "code",
|
| 269 |
+
"execution_count": 41,
|
| 270 |
"id": "419e727b-5fc0-4a19-94e3-7c9c9c8c22ad",
|
| 271 |
"metadata": {},
|
| 272 |
"outputs": [
|