test
Browse files
app.ipynb
ADDED
@@ -0,0 +1,807 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": 11,
|
6 |
+
"metadata": {},
|
7 |
+
"outputs": [
|
8 |
+
{
|
9 |
+
"name": "stdout",
|
10 |
+
"output_type": "stream",
|
11 |
+
"text": [
|
12 |
+
"Requirement already satisfied: fastai in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (2.7.15)\n",
|
13 |
+
"Requirement already satisfied: pip in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (23.2.1)\n",
|
14 |
+
"Requirement already satisfied: packaging in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from fastai) (24.1)\n",
|
15 |
+
"Requirement already satisfied: fastdownload<2,>=0.0.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (0.0.7)\n",
|
16 |
+
"Requirement already satisfied: fastcore<1.6,>=1.5.29 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.5.45)\n",
|
17 |
+
"Requirement already satisfied: torchvision>=0.11 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (0.18.1)\n",
|
18 |
+
"Requirement already satisfied: matplotlib in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (3.9.0)\n",
|
19 |
+
"Requirement already satisfied: pandas in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (2.1.4)\n",
|
20 |
+
"Requirement already satisfied: requests in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (2.31.0)\n",
|
21 |
+
"Requirement already satisfied: pyyaml in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (6.0.1)\n",
|
22 |
+
"Requirement already satisfied: fastprogress>=0.2.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.0.3)\n",
|
23 |
+
"Requirement already satisfied: pillow>=9.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (10.1.0)\n",
|
24 |
+
"Requirement already satisfied: scikit-learn in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.4.2)\n",
|
25 |
+
"Requirement already satisfied: scipy in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.13.0)\n",
|
26 |
+
"Requirement already satisfied: spacy<4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (3.7.5)\n",
|
27 |
+
"Requirement already satisfied: torch<2.4,>=1.10 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (2.3.1)\n",
|
28 |
+
"Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.11 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.0.12)\n",
|
29 |
+
"Requirement already satisfied: spacy-loggers<2.0.0,>=1.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.0.5)\n",
|
30 |
+
"Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.0.10)\n",
|
31 |
+
"Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.0.8)\n",
|
32 |
+
"Requirement already satisfied: preshed<3.1.0,>=3.0.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.0.9)\n",
|
33 |
+
"Requirement already satisfied: thinc<8.3.0,>=8.2.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (8.2.4)\n",
|
34 |
+
"Requirement already satisfied: wasabi<1.2.0,>=0.9.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.1.3)\n",
|
35 |
+
"Requirement already satisfied: srsly<3.0.0,>=2.4.3 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.4.8)\n",
|
36 |
+
"Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.0.10)\n",
|
37 |
+
"Requirement already satisfied: weasel<0.5.0,>=0.1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (0.4.1)\n",
|
38 |
+
"Requirement already satisfied: typer<1.0.0,>=0.3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (0.12.3)\n",
|
39 |
+
"Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (4.66.4)\n",
|
40 |
+
"Requirement already satisfied: pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.7.4)\n",
|
41 |
+
"Requirement already satisfied: jinja2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.1.3)\n",
|
42 |
+
"Requirement already satisfied: setuptools in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (70.0.0)\n",
|
43 |
+
"Requirement already satisfied: langcodes<4.0.0,>=3.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.4.0)\n",
|
44 |
+
"Requirement already satisfied: numpy>=1.19.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.26.2)\n",
|
45 |
+
"Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (3.3.2)\n",
|
46 |
+
"Requirement already satisfied: idna<4,>=2.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (3.6)\n",
|
47 |
+
"Requirement already satisfied: urllib3<3,>=1.21.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (2.1.0)\n",
|
48 |
+
"Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (2023.11.17)\n",
|
49 |
+
"Requirement already satisfied: filelock in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (3.15.1)\n",
|
50 |
+
"Requirement already satisfied: typing-extensions>=4.8.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (4.12.2)\n",
|
51 |
+
"Requirement already satisfied: sympy in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (1.12.1)\n",
|
52 |
+
"Requirement already satisfied: networkx in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (3.3)\n",
|
53 |
+
"Requirement already satisfied: fsspec in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (2024.6.0)\n",
|
54 |
+
"Requirement already satisfied: mkl<=2021.4.0,>=2021.1.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (2021.4.0)\n",
|
55 |
+
"Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (1.2.1)\n",
|
56 |
+
"Requirement already satisfied: cycler>=0.10 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (0.12.1)\n",
|
57 |
+
"Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (4.53.0)\n",
|
58 |
+
"Requirement already satisfied: kiwisolver>=1.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (1.4.5)\n",
|
59 |
+
"Requirement already satisfied: pyparsing>=2.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (3.1.2)\n",
|
60 |
+
"Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (2.8.2)\n",
|
61 |
+
"Requirement already satisfied: pytz>=2020.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas->fastai) (2023.3.post1)\n",
|
62 |
+
"Requirement already satisfied: tzdata>=2022.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas->fastai) (2023.3)\n",
|
63 |
+
"Requirement already satisfied: joblib>=1.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from scikit-learn->fastai) (1.4.0)\n",
|
64 |
+
"Requirement already satisfied: threadpoolctl>=2.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from scikit-learn->fastai) (3.4.0)\n",
|
65 |
+
"Requirement already satisfied: language-data>=1.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from langcodes<4.0.0,>=3.2.0->spacy<4->fastai) (1.2.0)\n",
|
66 |
+
"Requirement already satisfied: intel-openmp==2021.* in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from mkl<=2021.4.0,>=2021.1.1->torch<2.4,>=1.10->fastai) (2021.4.0)\n",
|
67 |
+
"Requirement already satisfied: tbb==2021.* in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from mkl<=2021.4.0,>=2021.1.1->torch<2.4,>=1.10->fastai) (2021.12.0)\n",
|
68 |
+
"Requirement already satisfied: annotated-types>=0.4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy<4->fastai) (0.7.0)\n",
|
69 |
+
"Requirement already satisfied: pydantic-core==2.18.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy<4->fastai) (2.18.4)\n",
|
70 |
+
"Requirement already satisfied: six>=1.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from python-dateutil>=2.7->matplotlib->fastai) (1.16.0)\n",
|
71 |
+
"Requirement already satisfied: blis<0.8.0,>=0.7.8 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from thinc<8.3.0,>=8.2.2->spacy<4->fastai) (0.7.11)\n",
|
72 |
+
"Requirement already satisfied: confection<1.0.0,>=0.0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from thinc<8.3.0,>=8.2.2->spacy<4->fastai) (0.1.5)\n",
|
73 |
+
"Requirement already satisfied: colorama in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from tqdm<5.0.0,>=4.38.0->spacy<4->fastai) (0.4.6)\n",
|
74 |
+
"Requirement already satisfied: click>=8.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0.0,>=0.3.0->spacy<4->fastai) (8.1.7)\n",
|
75 |
+
"Requirement already satisfied: shellingham>=1.3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0.0,>=0.3.0->spacy<4->fastai) (1.5.4)\n",
|
76 |
+
"Requirement already satisfied: rich>=10.11.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0.0,>=0.3.0->spacy<4->fastai) (13.7.1)\n",
|
77 |
+
"Requirement already satisfied: cloudpathlib<1.0.0,>=0.7.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from weasel<0.5.0,>=0.1.0->spacy<4->fastai) (0.18.1)\n",
|
78 |
+
"Requirement already satisfied: smart-open<8.0.0,>=5.2.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from weasel<0.5.0,>=0.1.0->spacy<4->fastai) (7.0.4)\n",
|
79 |
+
"Requirement already satisfied: MarkupSafe>=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jinja2->spacy<4->fastai) (2.1.5)\n",
|
80 |
+
"Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from sympy->torch<2.4,>=1.10->fastai) (1.3.0)\n",
|
81 |
+
"Requirement already satisfied: marisa-trie>=0.7.7 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from language-data>=1.2->langcodes<4.0.0,>=3.2.0->spacy<4->fastai) (1.2.0)\n",
|
82 |
+
"Requirement already satisfied: markdown-it-py>=2.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy<4->fastai) (3.0.0)\n",
|
83 |
+
"Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy<4->fastai) (2.18.0)\n",
|
84 |
+
"Requirement already satisfied: wrapt in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from smart-open<8.0.0,>=5.2.1->weasel<0.5.0,>=0.1.0->spacy<4->fastai) (1.16.0)\n",
|
85 |
+
"Requirement already satisfied: mdurl~=0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy<4->fastai) (0.1.2)\n"
|
86 |
+
]
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"name": "stderr",
|
90 |
+
"output_type": "stream",
|
91 |
+
"text": [
|
92 |
+
"\n",
|
93 |
+
"[notice] A new release of pip is available: 23.2.1 -> 24.0\n",
|
94 |
+
"[notice] To update, run: python.exe -m pip install --upgrade pip\n"
|
95 |
+
]
|
96 |
+
}
|
97 |
+
],
|
98 |
+
"source": [
|
99 |
+
"!pip install --upgrade fastai"
|
100 |
+
]
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "code",
|
104 |
+
"execution_count": 3,
|
105 |
+
"metadata": {},
|
106 |
+
"outputs": [
|
107 |
+
{
|
108 |
+
"name": "stdout",
|
109 |
+
"output_type": "stream",
|
110 |
+
"text": [
|
111 |
+
"Collecting gradio\n",
|
112 |
+
" Obtaining dependency information for gradio from https://files.pythonhosted.org/packages/78/99/5d6f18958ee8f82b9bf858232cd48fc98a571a9cace053ea01198d8cefc1/gradio-4.36.1-py3-none-any.whl.metadata\n",
|
113 |
+
" Downloading gradio-4.36.1-py3-none-any.whl.metadata (15 kB)\n",
|
114 |
+
"Collecting aiofiles<24.0,>=22.0 (from gradio)\n",
|
115 |
+
" Obtaining dependency information for aiofiles<24.0,>=22.0 from https://files.pythonhosted.org/packages/c5/19/5af6804c4cc0fed83f47bff6e413a98a36618e7d40185cd36e69737f3b0e/aiofiles-23.2.1-py3-none-any.whl.metadata\n",
|
116 |
+
" Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)\n",
|
117 |
+
"Collecting altair<6.0,>=4.2.0 (from gradio)\n",
|
118 |
+
" Obtaining dependency information for altair<6.0,>=4.2.0 from https://files.pythonhosted.org/packages/46/30/2118537233fa72c1d91a81f5908a7e843a6601ccc68b76838ebc4951505f/altair-5.3.0-py3-none-any.whl.metadata\n",
|
119 |
+
" Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB)\n",
|
120 |
+
"Collecting fastapi (from gradio)\n",
|
121 |
+
" Obtaining dependency information for fastapi from https://files.pythonhosted.org/packages/e6/33/de41e554e5a187d583906e10d53bfae5fd6c07e98cbf4fe5262bd37e739a/fastapi-0.111.0-py3-none-any.whl.metadata\n",
|
122 |
+
" Downloading fastapi-0.111.0-py3-none-any.whl.metadata (25 kB)\n",
|
123 |
+
"Collecting ffmpy (from gradio)\n",
|
124 |
+
" Downloading ffmpy-0.3.2.tar.gz (5.5 kB)\n",
|
125 |
+
" Installing build dependencies: started\n",
|
126 |
+
" Installing build dependencies: finished with status 'done'\n",
|
127 |
+
" Getting requirements to build wheel: started\n",
|
128 |
+
" Getting requirements to build wheel: finished with status 'done'\n",
|
129 |
+
" Preparing metadata (pyproject.toml): started\n",
|
130 |
+
" Preparing metadata (pyproject.toml): finished with status 'done'\n",
|
131 |
+
"Collecting gradio-client==1.0.1 (from gradio)\n",
|
132 |
+
" Obtaining dependency information for gradio-client==1.0.1 from https://files.pythonhosted.org/packages/d5/d5/ee0814f51f81c8120495fd82a25aaeac4259058a3a61849bd7e575894fe1/gradio_client-1.0.1-py3-none-any.whl.metadata\n",
|
133 |
+
" Downloading gradio_client-1.0.1-py3-none-any.whl.metadata (7.1 kB)\n",
|
134 |
+
"Collecting httpx>=0.24.1 (from gradio)\n",
|
135 |
+
" Obtaining dependency information for httpx>=0.24.1 from https://files.pythonhosted.org/packages/41/7b/ddacf6dcebb42466abd03f368782142baa82e08fc0c1f8eaa05b4bae87d5/httpx-0.27.0-py3-none-any.whl.metadata\n",
|
136 |
+
" Downloading httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)\n",
|
137 |
+
"Collecting huggingface-hub>=0.19.3 (from gradio)\n",
|
138 |
+
" Obtaining dependency information for huggingface-hub>=0.19.3 from https://files.pythonhosted.org/packages/69/d6/73f9d1b7c4da5f0544bc17680d0fa9932445423b90cd38e1ee77d001a4f5/huggingface_hub-0.23.4-py3-none-any.whl.metadata\n",
|
139 |
+
" Downloading huggingface_hub-0.23.4-py3-none-any.whl.metadata (12 kB)\n",
|
140 |
+
"Collecting importlib-resources<7.0,>=1.3 (from gradio)\n",
|
141 |
+
" Obtaining dependency information for importlib-resources<7.0,>=1.3 from https://files.pythonhosted.org/packages/75/06/4df55e1b7b112d183f65db9503bff189e97179b256e1ea450a3c365241e0/importlib_resources-6.4.0-py3-none-any.whl.metadata\n",
|
142 |
+
" Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB)\n",
|
143 |
+
"Requirement already satisfied: jinja2<4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (3.1.3)\n",
|
144 |
+
"Requirement already satisfied: markupsafe~=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.1.5)\n",
|
145 |
+
"Requirement already satisfied: matplotlib~=3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (3.9.0)\n",
|
146 |
+
"Requirement already satisfied: numpy<3.0,>=1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (1.26.2)\n",
|
147 |
+
"Collecting orjson~=3.0 (from gradio)\n",
|
148 |
+
" Obtaining dependency information for orjson~=3.0 from https://files.pythonhosted.org/packages/a2/da/22b9fa0628a0b51b2fa48c68003e41db4ed715b351eb2e95ca4b0998af9c/orjson-3.10.5-cp312-none-win_amd64.whl.metadata\n",
|
149 |
+
" Downloading orjson-3.10.5-cp312-none-win_amd64.whl.metadata (50 kB)\n",
|
150 |
+
" ---------------------------------------- 0.0/50.9 kB ? eta -:--:--\n",
|
151 |
+
" ------------------------------ ------- 41.0/50.9 kB 653.6 kB/s eta 0:00:01\n",
|
152 |
+
" -------------------------------------- 50.9/50.9 kB 865.8 kB/s eta 0:00:00\n",
|
153 |
+
"Requirement already satisfied: packaging in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from gradio) (24.1)\n",
|
154 |
+
"Requirement already satisfied: pandas<3.0,>=1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.1.4)\n",
|
155 |
+
"Requirement already satisfied: pillow<11.0,>=8.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (10.1.0)\n",
|
156 |
+
"Requirement already satisfied: pydantic>=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.7.4)\n",
|
157 |
+
"Collecting pydub (from gradio)\n",
|
158 |
+
" Obtaining dependency information for pydub from https://files.pythonhosted.org/packages/a6/53/d78dc063216e62fc55f6b2eebb447f6a4b0a59f55c8406376f76bf959b08/pydub-0.25.1-py2.py3-none-any.whl.metadata\n",
|
159 |
+
" Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n",
|
160 |
+
"Collecting python-multipart>=0.0.9 (from gradio)\n",
|
161 |
+
" Obtaining dependency information for python-multipart>=0.0.9 from https://files.pythonhosted.org/packages/3d/47/444768600d9e0ebc82f8e347775d24aef8f6348cf00e9fa0e81910814e6d/python_multipart-0.0.9-py3-none-any.whl.metadata\n",
|
162 |
+
" Downloading python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB)\n",
|
163 |
+
"Requirement already satisfied: pyyaml<7.0,>=5.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (6.0.1)\n",
|
164 |
+
"Collecting ruff>=0.2.2 (from gradio)\n",
|
165 |
+
" Obtaining dependency information for ruff>=0.2.2 from https://files.pythonhosted.org/packages/cd/b2/3ac36982ae94cb78bfea85b79fbc868c9d2fb68bbbabf1e85ca9a9b2ba9a/ruff-0.4.9-py3-none-win_amd64.whl.metadata\n",
|
166 |
+
" Downloading ruff-0.4.9-py3-none-win_amd64.whl.metadata (24 kB)\n",
|
167 |
+
"Collecting semantic-version~=2.0 (from gradio)\n",
|
168 |
+
" Obtaining dependency information for semantic-version~=2.0 from https://files.pythonhosted.org/packages/6a/23/8146aad7d88f4fcb3a6218f41a60f6c2d4e3a72de72da1825dc7c8f7877c/semantic_version-2.10.0-py2.py3-none-any.whl.metadata\n",
|
169 |
+
" Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)\n",
|
170 |
+
"Collecting tomlkit==0.12.0 (from gradio)\n",
|
171 |
+
" Obtaining dependency information for tomlkit==0.12.0 from https://files.pythonhosted.org/packages/68/4f/12207897848a653d03ebbf6775a29d949408ded5f99b2d87198bc5c93508/tomlkit-0.12.0-py3-none-any.whl.metadata\n",
|
172 |
+
" Downloading tomlkit-0.12.0-py3-none-any.whl.metadata (2.7 kB)\n",
|
173 |
+
"Requirement already satisfied: typer<1.0,>=0.12 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (0.12.3)\n",
|
174 |
+
"Requirement already satisfied: typing-extensions~=4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (4.12.2)\n",
|
175 |
+
"Requirement already satisfied: urllib3~=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.1.0)\n",
|
176 |
+
"Collecting uvicorn>=0.14.0 (from gradio)\n",
|
177 |
+
" Obtaining dependency information for uvicorn>=0.14.0 from https://files.pythonhosted.org/packages/b2/f9/e6f30ba6094733e4f9794fd098ca0543a19b07ac1fa3075d595bf0f1fb60/uvicorn-0.30.1-py3-none-any.whl.metadata\n",
|
178 |
+
" Downloading uvicorn-0.30.1-py3-none-any.whl.metadata (6.3 kB)\n",
|
179 |
+
"Requirement already satisfied: fsspec in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio-client==1.0.1->gradio) (2024.6.0)\n",
|
180 |
+
"Collecting websockets<12.0,>=10.0 (from gradio-client==1.0.1->gradio)\n",
|
181 |
+
" Obtaining dependency information for websockets<12.0,>=10.0 from https://files.pythonhosted.org/packages/47/96/9d5749106ff57629b54360664ae7eb9afd8302fad1680ead385383e33746/websockets-11.0.3-py3-none-any.whl.metadata\n",
|
182 |
+
" Downloading websockets-11.0.3-py3-none-any.whl.metadata (6.6 kB)\n",
|
183 |
+
"Collecting jsonschema>=3.0 (from altair<6.0,>=4.2.0->gradio)\n",
|
184 |
+
" Obtaining dependency information for jsonschema>=3.0 from https://files.pythonhosted.org/packages/c8/2f/324fab4be6fe37fb7b521546e8a557e6cf08c1c1b3d0b4839a00f589d9ef/jsonschema-4.22.0-py3-none-any.whl.metadata\n",
|
185 |
+
" Downloading jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB)\n",
|
186 |
+
"Collecting toolz (from altair<6.0,>=4.2.0->gradio)\n",
|
187 |
+
" Obtaining dependency information for toolz from https://files.pythonhosted.org/packages/b7/8a/d82202c9f89eab30f9fc05380daae87d617e2ad11571ab23d7c13a29bb54/toolz-0.12.1-py3-none-any.whl.metadata\n",
|
188 |
+
" Downloading toolz-0.12.1-py3-none-any.whl.metadata (5.1 kB)\n",
|
189 |
+
"Collecting anyio (from httpx>=0.24.1->gradio)\n",
|
190 |
+
" Obtaining dependency information for anyio from https://files.pythonhosted.org/packages/7b/a2/10639a79341f6c019dedc95bd48a4928eed9f1d1197f4c04f546fc7ae0ff/anyio-4.4.0-py3-none-any.whl.metadata\n",
|
191 |
+
" Downloading anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)\n",
|
192 |
+
"Requirement already satisfied: certifi in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpx>=0.24.1->gradio) (2023.11.17)\n",
|
193 |
+
"Collecting httpcore==1.* (from httpx>=0.24.1->gradio)\n",
|
194 |
+
" Obtaining dependency information for httpcore==1.* from https://files.pythonhosted.org/packages/78/d4/e5d7e4f2174f8a4d63c8897d79eb8fe2503f7ecc03282fee1fa2719c2704/httpcore-1.0.5-py3-none-any.whl.metadata\n",
|
195 |
+
" Downloading httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)\n",
|
196 |
+
"Requirement already satisfied: idna in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpx>=0.24.1->gradio) (3.6)\n",
|
197 |
+
"Requirement already satisfied: sniffio in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpx>=0.24.1->gradio) (1.3.0)\n",
|
198 |
+
"Requirement already satisfied: h11<0.15,>=0.13 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpcore==1.*->httpx>=0.24.1->gradio) (0.14.0)\n",
|
199 |
+
"Requirement already satisfied: filelock in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub>=0.19.3->gradio) (3.15.1)\n",
|
200 |
+
"Requirement already satisfied: requests in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub>=0.19.3->gradio) (2.31.0)\n",
|
201 |
+
"Requirement already satisfied: tqdm>=4.42.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub>=0.19.3->gradio) (4.66.4)\n",
|
202 |
+
"Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (1.2.1)\n",
|
203 |
+
"Requirement already satisfied: cycler>=0.10 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (0.12.1)\n",
|
204 |
+
"Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (4.53.0)\n",
|
205 |
+
"Requirement already satisfied: kiwisolver>=1.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (1.4.5)\n",
|
206 |
+
"Requirement already satisfied: pyparsing>=2.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (3.1.2)\n",
|
207 |
+
"Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (2.8.2)\n",
|
208 |
+
"Requirement already satisfied: pytz>=2020.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas<3.0,>=1.0->gradio) (2023.3.post1)\n",
|
209 |
+
"Requirement already satisfied: tzdata>=2022.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas<3.0,>=1.0->gradio) (2023.3)\n",
|
210 |
+
"Requirement already satisfied: annotated-types>=0.4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic>=2.0->gradio) (0.7.0)\n",
|
211 |
+
"Requirement already satisfied: pydantic-core==2.18.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic>=2.0->gradio) (2.18.4)\n",
|
212 |
+
"Requirement already satisfied: click>=8.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0,>=0.12->gradio) (8.1.7)\n",
|
213 |
+
"Requirement already satisfied: shellingham>=1.3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0,>=0.12->gradio) (1.5.4)\n",
|
214 |
+
"Requirement already satisfied: rich>=10.11.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0,>=0.12->gradio) (13.7.1)\n",
|
215 |
+
"Collecting starlette<0.38.0,>=0.37.2 (from fastapi->gradio)\n",
|
216 |
+
" Obtaining dependency information for starlette<0.38.0,>=0.37.2 from https://files.pythonhosted.org/packages/fd/18/31fa32ed6c68ba66220204ef0be798c349d0a20c1901f9d4a794e08c76d8/starlette-0.37.2-py3-none-any.whl.metadata\n",
|
217 |
+
" Downloading starlette-0.37.2-py3-none-any.whl.metadata (5.9 kB)\n",
|
218 |
+
"Collecting fastapi-cli>=0.0.2 (from fastapi->gradio)\n",
|
219 |
+
" Obtaining dependency information for fastapi-cli>=0.0.2 from https://files.pythonhosted.org/packages/a1/03/89bf615052aa5453c04d952225ded0b88aab6487b9c5f0c268939d13b860/fastapi_cli-0.0.4-py3-none-any.whl.metadata\n",
|
220 |
+
" Downloading fastapi_cli-0.0.4-py3-none-any.whl.metadata (7.0 kB)\n",
|
221 |
+
"Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 (from fastapi->gradio)\n",
|
222 |
+
" Obtaining dependency information for ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 from https://files.pythonhosted.org/packages/59/2d/691f741ffd72b6c84438a93749ac57bf1a3f217ac4b0ea4fd0e96119e118/ujson-5.10.0-cp312-cp312-win_amd64.whl.metadata\n",
|
223 |
+
" Downloading ujson-5.10.0-cp312-cp312-win_amd64.whl.metadata (9.5 kB)\n",
|
224 |
+
"Collecting email_validator>=2.0.0 (from fastapi->gradio)\n",
|
225 |
+
" Obtaining dependency information for email_validator>=2.0.0 from https://files.pythonhosted.org/packages/e4/60/b02cb0f5ee0be88bd4fbfdd9cc91e43ec2dfcc47fe064e7c70587ff58a94/email_validator-2.1.1-py3-none-any.whl.metadata\n",
|
226 |
+
" Downloading email_validator-2.1.1-py3-none-any.whl.metadata (26 kB)\n",
|
227 |
+
"Requirement already satisfied: colorama in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from click>=8.0.0->typer<1.0,>=0.12->gradio) (0.4.6)\n",
|
228 |
+
"Collecting dnspython>=2.0.0 (from email_validator>=2.0.0->fastapi->gradio)\n",
|
229 |
+
" Obtaining dependency information for dnspython>=2.0.0 from https://files.pythonhosted.org/packages/87/a1/8c5287991ddb8d3e4662f71356d9656d91ab3a36618c3dd11b280df0d255/dnspython-2.6.1-py3-none-any.whl.metadata\n",
|
230 |
+
" Downloading dnspython-2.6.1-py3-none-any.whl.metadata (5.8 kB)\n",
|
231 |
+
"Requirement already satisfied: attrs>=22.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio) (23.1.0)\n",
|
232 |
+
"Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio)\n",
|
233 |
+
" Obtaining dependency information for jsonschema-specifications>=2023.03.6 from https://files.pythonhosted.org/packages/ee/07/44bd408781594c4d0a027666ef27fab1e441b109dc3b76b4f836f8fd04fe/jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata\n",
|
234 |
+
" Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)\n",
|
235 |
+
"Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio)\n",
|
236 |
+
" Obtaining dependency information for referencing>=0.28.4 from https://files.pythonhosted.org/packages/b7/59/2056f61236782a2c86b33906c025d4f4a0b17be0161b63b70fd9e8775d36/referencing-0.35.1-py3-none-any.whl.metadata\n",
|
237 |
+
" Downloading referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB)\n",
|
238 |
+
"Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio)\n",
|
239 |
+
" Obtaining dependency information for rpds-py>=0.7.1 from https://files.pythonhosted.org/packages/01/7d/8552e329973a198e5e150cc6be068f5cbae797a89e64c02bbd47bd397dee/rpds_py-0.18.1-cp312-none-win_amd64.whl.metadata\n",
|
240 |
+
" Downloading rpds_py-0.18.1-cp312-none-win_amd64.whl.metadata (4.2 kB)\n",
|
241 |
+
"Requirement already satisfied: six>=1.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio) (1.16.0)\n",
|
242 |
+
"Requirement already satisfied: markdown-it-py>=2.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio) (3.0.0)\n",
|
243 |
+
"Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio) (2.18.0)\n",
|
244 |
+
"Collecting httptools>=0.5.0 (from uvicorn>=0.14.0->gradio)\n",
|
245 |
+
" Obtaining dependency information for httptools>=0.5.0 from https://files.pythonhosted.org/packages/d3/97/60860e9ee87a7d4712b98f7e1411730520053b9d69e9e42b0b9751809c17/httptools-0.6.1-cp312-cp312-win_amd64.whl.metadata\n",
|
246 |
+
" Downloading httptools-0.6.1-cp312-cp312-win_amd64.whl.metadata (3.7 kB)\n",
|
247 |
+
"Collecting python-dotenv>=0.13 (from uvicorn>=0.14.0->gradio)\n",
|
248 |
+
" Obtaining dependency information for python-dotenv>=0.13 from https://files.pythonhosted.org/packages/6a/3e/b68c118422ec867fa7ab88444e1274aa40681c606d59ac27de5a5588f082/python_dotenv-1.0.1-py3-none-any.whl.metadata\n",
|
249 |
+
" Downloading python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)\n",
|
250 |
+
"Collecting watchfiles>=0.13 (from uvicorn>=0.14.0->gradio)\n",
|
251 |
+
" Obtaining dependency information for watchfiles>=0.13 from https://files.pythonhosted.org/packages/c9/d1/7a2404a9d52a85ee95d5f20b6a34a2708df84549d54fc8112308d502ed35/watchfiles-0.22.0-cp312-none-win_amd64.whl.metadata\n",
|
252 |
+
" Downloading watchfiles-0.22.0-cp312-none-win_amd64.whl.metadata (5.0 kB)\n",
|
253 |
+
"Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->huggingface-hub>=0.19.3->gradio) (3.3.2)\n",
|
254 |
+
"Requirement already satisfied: mdurl~=0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio) (0.1.2)\n",
|
255 |
+
"Downloading gradio-4.36.1-py3-none-any.whl (12.3 MB)\n",
|
256 |
+
" ---------------------------------------- 0.0/12.3 MB ? eta -:--:--\n",
|
257 |
+
" ---------------------------------------- 0.1/12.3 MB 1.7 MB/s eta 0:00:07\n",
|
258 |
+
" ---------------------------------------- 0.1/12.3 MB 980.4 kB/s eta 0:00:13\n",
|
259 |
+
" --------------------------------------- 0.2/12.3 MB 1.6 MB/s eta 0:00:08\n",
|
260 |
+
" - -------------------------------------- 0.3/12.3 MB 1.9 MB/s eta 0:00:07\n",
|
261 |
+
" - -------------------------------------- 0.5/12.3 MB 1.9 MB/s eta 0:00:07\n",
|
262 |
+
" - -------------------------------------- 0.6/12.3 MB 2.1 MB/s eta 0:00:06\n",
|
263 |
+
" -- ------------------------------------- 0.7/12.3 MB 2.0 MB/s eta 0:00:06\n",
|
264 |
+
" --- ------------------------------------ 1.1/12.3 MB 2.8 MB/s eta 0:00:04\n",
|
265 |
+
" --- ------------------------------------ 1.2/12.3 MB 2.9 MB/s eta 0:00:04\n",
|
266 |
+
" ------ --------------------------------- 1.9/12.3 MB 4.1 MB/s eta 0:00:03\n",
|
267 |
+
" ------- -------------------------------- 2.3/12.3 MB 4.5 MB/s eta 0:00:03\n",
|
268 |
+
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
|
269 |
+
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
|
270 |
+
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
|
271 |
+
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
|
272 |
+
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
|
273 |
+
" ---------- ----------------------------- 3.2/12.3 MB 4.1 MB/s eta 0:00:03\n",
|
274 |
+
" ---------- ----------------------------- 3.3/12.3 MB 3.9 MB/s eta 0:00:03\n",
|
275 |
+
" ---------- ----------------------------- 3.3/12.3 MB 3.9 MB/s eta 0:00:03\n",
|
276 |
+
" ----------- ---------------------------- 3.6/12.3 MB 3.8 MB/s eta 0:00:03\n",
|
277 |
+
" ------------- -------------------------- 4.1/12.3 MB 4.2 MB/s eta 0:00:02\n",
|
278 |
+
" ------------- -------------------------- 4.2/12.3 MB 4.2 MB/s eta 0:00:02\n",
|
279 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
280 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
281 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
282 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
283 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
284 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
285 |
+
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
|
286 |
+
" --------------- ------------------------ 4.8/12.3 MB 3.5 MB/s eta 0:00:03\n",
|
287 |
+
" --------------- ------------------------ 4.8/12.3 MB 3.5 MB/s eta 0:00:03\n",
|
288 |
+
" --------------- ------------------------ 4.8/12.3 MB 3.2 MB/s eta 0:00:03\n",
|
289 |
+
" ---------------- ----------------------- 5.1/12.3 MB 3.3 MB/s eta 0:00:03\n",
|
290 |
+
" ---------------- ----------------------- 5.2/12.3 MB 3.3 MB/s eta 0:00:03\n",
|
291 |
+
" ----------------- ---------------------- 5.3/12.3 MB 3.2 MB/s eta 0:00:03\n",
|
292 |
+
" ----------------- ---------------------- 5.3/12.3 MB 3.2 MB/s eta 0:00:03\n",
|
293 |
+
" ----------------- ---------------------- 5.4/12.3 MB 3.1 MB/s eta 0:00:03\n",
|
294 |
+
" ----------------- ---------------------- 5.4/12.3 MB 3.0 MB/s eta 0:00:03\n",
|
295 |
+
" ------------------ --------------------- 5.6/12.3 MB 3.0 MB/s eta 0:00:03\n",
|
296 |
+
" ------------------ --------------------- 5.6/12.3 MB 3.0 MB/s eta 0:00:03\n",
|
297 |
+
" ------------------ --------------------- 5.7/12.3 MB 2.9 MB/s eta 0:00:03\n",
|
298 |
+
" ------------------ --------------------- 5.7/12.3 MB 2.9 MB/s eta 0:00:03\n",
|
299 |
+
" ------------------ --------------------- 5.8/12.3 MB 2.9 MB/s eta 0:00:03\n",
|
300 |
+
" -------------------- ------------------- 6.2/12.3 MB 3.0 MB/s eta 0:00:02\n",
|
301 |
+
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
302 |
+
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
303 |
+
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
304 |
+
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
305 |
+
" ---------------------- ----------------- 6.8/12.3 MB 3.0 MB/s eta 0:00:02\n",
|
306 |
+
" ----------------------- ---------------- 7.2/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
307 |
+
" ----------------------- ---------------- 7.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
308 |
+
" ----------------------- ---------------- 7.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
309 |
+
" ----------------------- ---------------- 7.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
310 |
+
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
|
311 |
+
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
|
312 |
+
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
|
313 |
+
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
|
314 |
+
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
|
315 |
+
" ---------------------------- ----------- 8.6/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
316 |
+
" ---------------------------- ----------- 8.6/12.3 MB 3.1 MB/s eta 0:00:02\n",
|
317 |
+
" ----------------------------- ---------- 9.1/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
318 |
+
" ------------------------------ --------- 9.4/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
319 |
+
" ------------------------------- -------- 9.6/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
320 |
+
" ------------------------------- -------- 9.7/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
321 |
+
" -------------------------------- ------- 9.8/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
322 |
+
" -------------------------------- ------- 9.9/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
323 |
+
" -------------------------------- ------- 9.9/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
324 |
+
" -------------------------------- ------- 10.0/12.3 MB 3.1 MB/s eta 0:00:01\n",
|
325 |
+
" --------------------------------- ------ 10.2/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
326 |
+
" --------------------------------- ------ 10.4/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
327 |
+
" ---------------------------------- ----- 10.6/12.3 MB 3.3 MB/s eta 0:00:01\n",
|
328 |
+
" ---------------------------------- ----- 10.6/12.3 MB 3.3 MB/s eta 0:00:01\n",
|
329 |
+
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
|
330 |
+
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
|
331 |
+
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
|
332 |
+
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
|
333 |
+
" ------------------------------------ --- 11.3/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
334 |
+
" ------------------------------------- -- 11.4/12.3 MB 3.2 MB/s eta 0:00:01\n",
|
335 |
+
" ------------------------------------- -- 11.4/12.3 MB 3.1 MB/s eta 0:00:01\n",
|
336 |
+
" ------------------------------------- -- 11.5/12.3 MB 3.1 MB/s eta 0:00:01\n",
|
337 |
+
" ------------------------------------- -- 11.5/12.3 MB 3.1 MB/s eta 0:00:01\n",
|
338 |
+
" ------------------------------------- -- 11.6/12.3 MB 3.0 MB/s eta 0:00:01\n",
|
339 |
+
" ------------------------------------- -- 11.6/12.3 MB 3.0 MB/s eta 0:00:01\n",
|
340 |
+
" ------------------------------------- -- 11.6/12.3 MB 2.9 MB/s eta 0:00:01\n",
|
341 |
+
" ------------------------------------- -- 11.6/12.3 MB 2.9 MB/s eta 0:00:01\n",
|
342 |
+
" -------------------------------------- - 11.7/12.3 MB 2.9 MB/s eta 0:00:01\n",
|
343 |
+
" -------------------------------------- - 11.7/12.3 MB 2.9 MB/s eta 0:00:01\n",
|
344 |
+
" -------------------------------------- - 11.8/12.3 MB 2.8 MB/s eta 0:00:01\n",
|
345 |
+
" -------------------------------------- - 11.9/12.3 MB 2.8 MB/s eta 0:00:01\n",
|
346 |
+
" --------------------------------------- 12.0/12.3 MB 2.8 MB/s eta 0:00:01\n",
|
347 |
+
" --------------------------------------- 12.0/12.3 MB 2.7 MB/s eta 0:00:01\n",
|
348 |
+
" --------------------------------------- 12.0/12.3 MB 2.7 MB/s eta 0:00:01\n",
|
349 |
+
" --------------------------------------- 12.1/12.3 MB 2.6 MB/s eta 0:00:01\n",
|
350 |
+
" --------------------------------------- 12.1/12.3 MB 2.6 MB/s eta 0:00:01\n",
|
351 |
+
" --------------------------------------- 12.1/12.3 MB 2.6 MB/s eta 0:00:01\n",
|
352 |
+
" --------------------------------------- 12.2/12.3 MB 2.5 MB/s eta 0:00:01\n",
|
353 |
+
" --------------------------------------- 12.2/12.3 MB 2.5 MB/s eta 0:00:01\n",
|
354 |
+
" --------------------------------------- 12.3/12.3 MB 2.5 MB/s eta 0:00:01\n",
|
355 |
+
" ---------------------------------------- 12.3/12.3 MB 2.5 MB/s eta 0:00:00\n",
|
356 |
+
"Downloading gradio_client-1.0.1-py3-none-any.whl (318 kB)\n",
|
357 |
+
" ---------------------------------------- 0.0/318.1 kB ? eta -:--:--\n",
|
358 |
+
" --- ------------------------------------ 30.7/318.1 kB 1.4 MB/s eta 0:00:01\n",
|
359 |
+
" -------- ------------------------------ 71.7/318.1 kB 991.0 kB/s eta 0:00:01\n",
|
360 |
+
" ------------ ------------------------- 102.4/318.1 kB 845.5 kB/s eta 0:00:01\n",
|
361 |
+
" ------------------ ------------------- 153.6/318.1 kB 919.0 kB/s eta 0:00:01\n",
|
362 |
+
" ---------------------- --------------- 184.3/318.1 kB 857.5 kB/s eta 0:00:01\n",
|
363 |
+
" ---------------------------- --------- 235.5/318.1 kB 850.1 kB/s eta 0:00:01\n",
|
364 |
+
" ----------------------------- -------- 245.8/318.1 kB 838.1 kB/s eta 0:00:01\n",
|
365 |
+
" ----------------------------- -------- 245.8/318.1 kB 838.1 kB/s eta 0:00:01\n",
|
366 |
+
" ----------------------------- -------- 245.8/318.1 kB 838.1 kB/s eta 0:00:01\n",
|
367 |
+
" -------------------------------------- 318.1/318.1 kB 758.2 kB/s eta 0:00:00\n",
|
368 |
+
"Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)\n",
|
369 |
+
"Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)\n",
|
370 |
+
"Downloading altair-5.3.0-py3-none-any.whl (857 kB)\n",
|
371 |
+
" ---------------------------------------- 0.0/857.8 kB ? eta -:--:--\n",
|
372 |
+
" ---------------------------------------- 10.2/857.8 kB ? eta -:--:--\n",
|
373 |
+
" - ------------------------------------- 41.0/857.8 kB 495.5 kB/s eta 0:00:02\n",
|
374 |
+
" -- ------------------------------------ 61.4/857.8 kB 550.5 kB/s eta 0:00:02\n",
|
375 |
+
" ---- --------------------------------- 112.6/857.8 kB 598.8 kB/s eta 0:00:02\n",
|
376 |
+
" ----- -------------------------------- 122.9/857.8 kB 554.9 kB/s eta 0:00:02\n",
|
377 |
+
" ------- ------------------------------ 163.8/857.8 kB 614.4 kB/s eta 0:00:02\n",
|
378 |
+
" ------- ------------------------------ 174.1/857.8 kB 618.3 kB/s eta 0:00:02\n",
|
379 |
+
" --------- ---------------------------- 225.3/857.8 kB 599.0 kB/s eta 0:00:02\n",
|
380 |
+
" ---------- --------------------------- 245.8/857.8 kB 628.1 kB/s eta 0:00:01\n",
|
381 |
+
" ------------ ------------------------- 276.5/857.8 kB 609.2 kB/s eta 0:00:01\n",
|
382 |
+
" ------------- ------------------------ 307.2/857.8 kB 613.6 kB/s eta 0:00:01\n",
|
383 |
+
" -------------- ----------------------- 337.9/857.8 kB 617.1 kB/s eta 0:00:01\n",
|
384 |
+
" ---------------- --------------------- 368.6/857.8 kB 620.1 kB/s eta 0:00:01\n",
|
385 |
+
" ----------------- -------------------- 389.1/857.8 kB 638.9 kB/s eta 0:00:01\n",
|
386 |
+
" ------------------- ------------------ 440.3/857.8 kB 641.0 kB/s eta 0:00:01\n",
|
387 |
+
" ------------------- ------------------ 440.3/857.8 kB 641.0 kB/s eta 0:00:01\n",
|
388 |
+
" ------------------- ------------------ 450.6/857.8 kB 575.6 kB/s eta 0:00:01\n",
|
389 |
+
" --------------------- ---------------- 491.5/857.8 kB 592.7 kB/s eta 0:00:01\n",
|
390 |
+
" ----------------------- -------------- 522.2/857.8 kB 596.0 kB/s eta 0:00:01\n",
|
391 |
+
" ------------------------ ------------- 553.0/857.8 kB 599.0 kB/s eta 0:00:01\n",
|
392 |
+
" ------------------------- ------------ 583.7/857.8 kB 601.7 kB/s eta 0:00:01\n",
|
393 |
+
" --------------------------- ---------- 624.6/857.8 kB 614.4 kB/s eta 0:00:01\n",
|
394 |
+
" ----------------------------- -------- 655.4/857.8 kB 616.7 kB/s eta 0:00:01\n",
|
395 |
+
" ------------------------------ ------- 686.1/857.8 kB 618.3 kB/s eta 0:00:01\n",
|
396 |
+
" ------------------------------- ------ 716.8/857.8 kB 619.8 kB/s eta 0:00:01\n",
|
397 |
+
" --------------------------------- ---- 747.5/857.8 kB 621.1 kB/s eta 0:00:01\n",
|
398 |
+
" ---------------------------------- --- 778.2/857.8 kB 622.4 kB/s eta 0:00:01\n",
|
399 |
+
" ----------------------------------- -- 809.0/857.8 kB 631.4 kB/s eta 0:00:01\n",
|
400 |
+
" ------------------------------------- 849.9/857.8 kB 625.2 kB/s eta 0:00:01\n",
|
401 |
+
" -------------------------------------- 857.8/857.8 kB 623.7 kB/s eta 0:00:00\n",
|
402 |
+
"Downloading httpx-0.27.0-py3-none-any.whl (75 kB)\n",
|
403 |
+
" ---------------------------------------- 0.0/75.6 kB ? eta -:--:--\n",
|
404 |
+
" ---------------- ----------------------- 30.7/75.6 kB 660.6 kB/s eta 0:00:01\n",
|
405 |
+
" -------------------------------- ------- 61.4/75.6 kB 825.8 kB/s eta 0:00:01\n",
|
406 |
+
" ---------------------------------------- 75.6/75.6 kB 599.5 kB/s eta 0:00:00\n",
|
407 |
+
"Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)\n",
|
408 |
+
" ---------------------------------------- 0.0/77.9 kB ? eta -:--:--\n",
|
409 |
+
" --------------- ------------------------ 30.7/77.9 kB 1.3 MB/s eta 0:00:01\n",
|
410 |
+
" ------------------------------- -------- 61.4/77.9 kB 812.7 kB/s eta 0:00:01\n",
|
411 |
+
" ---------------------------------------- 77.9/77.9 kB 615.3 kB/s eta 0:00:00\n",
|
412 |
+
"Downloading huggingface_hub-0.23.4-py3-none-any.whl (402 kB)\n",
|
413 |
+
" ---------------------------------------- 0.0/402.6 kB ? eta -:--:--\n",
|
414 |
+
" --- ------------------------------------ 30.7/402.6 kB 1.4 MB/s eta 0:00:01\n",
|
415 |
+
" ----- --------------------------------- 61.4/402.6 kB 825.8 kB/s eta 0:00:01\n",
|
416 |
+
" -------- ------------------------------ 92.2/402.6 kB 655.4 kB/s eta 0:00:01\n",
|
417 |
+
" ------------- ------------------------ 143.4/402.6 kB 774.0 kB/s eta 0:00:01\n",
|
418 |
+
" --------------- ---------------------- 163.8/402.6 kB 704.6 kB/s eta 0:00:01\n",
|
419 |
+
" ------------------- ------------------ 204.8/402.6 kB 734.2 kB/s eta 0:00:01\n",
|
420 |
+
" --------------------- ---------------- 225.3/402.6 kB 689.2 kB/s eta 0:00:01\n",
|
421 |
+
" -------------------------- ----------- 276.5/402.6 kB 741.6 kB/s eta 0:00:01\n",
|
422 |
+
" --------------------------- ---------- 286.7/402.6 kB 737.3 kB/s eta 0:00:01\n",
|
423 |
+
" ------------------------------- ------ 337.9/402.6 kB 723.4 kB/s eta 0:00:01\n",
|
424 |
+
" ---------------------------------- --- 368.6/402.6 kB 740.5 kB/s eta 0:00:01\n",
|
425 |
+
" -------------------------------------- 402.6/402.6 kB 717.4 kB/s eta 0:00:00\n",
|
426 |
+
"Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB)\n",
|
427 |
+
"Downloading orjson-3.10.5-cp312-none-win_amd64.whl (141 kB)\n",
|
428 |
+
" ---------------------------------------- 0.0/141.3 kB ? eta -:--:--\n",
|
429 |
+
" -------- ------------------------------ 30.7/141.3 kB 640.0 kB/s eta 0:00:01\n",
|
430 |
+
" ------------------- ------------------- 71.7/141.3 kB 653.6 kB/s eta 0:00:01\n",
|
431 |
+
" ------------------------------ ------- 112.6/141.3 kB 726.2 kB/s eta 0:00:01\n",
|
432 |
+
" -------------------------------------- 141.3/141.3 kB 762.1 kB/s eta 0:00:00\n",
|
433 |
+
"Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)\n",
|
434 |
+
"Downloading ruff-0.4.9-py3-none-win_amd64.whl (8.6 MB)\n",
|
435 |
+
" ---------------------------------------- 0.0/8.6 MB ? eta -:--:--\n",
|
436 |
+
" ---------------------------------------- 0.0/8.6 MB 1.4 MB/s eta 0:00:07\n",
|
437 |
+
" ---------------------------------------- 0.1/8.6 MB 1.1 MB/s eta 0:00:08\n",
|
438 |
+
" ---------------------------------------- 0.1/8.6 MB 751.6 kB/s eta 0:00:12\n",
|
439 |
+
" --------------------------------------- 0.1/8.6 MB 853.3 kB/s eta 0:00:10\n",
|
440 |
+
" --------------------------------------- 0.2/8.6 MB 706.2 kB/s eta 0:00:12\n",
|
441 |
+
" --------------------------------------- 0.2/8.6 MB 778.2 kB/s eta 0:00:11\n",
|
442 |
+
" - -------------------------------------- 0.2/8.6 MB 765.3 kB/s eta 0:00:11\n",
|
443 |
+
" - -------------------------------------- 0.3/8.6 MB 746.4 kB/s eta 0:00:12\n",
|
444 |
+
" - -------------------------------------- 0.3/8.6 MB 761.4 kB/s eta 0:00:11\n",
|
445 |
+
" - -------------------------------------- 0.3/8.6 MB 749.8 kB/s eta 0:00:12\n",
|
446 |
+
" - -------------------------------------- 0.4/8.6 MB 765.8 kB/s eta 0:00:11\n",
|
447 |
+
" - -------------------------------------- 0.4/8.6 MB 732.8 kB/s eta 0:00:12\n",
|
448 |
+
" -- ------------------------------------- 0.5/8.6 MB 761.8 kB/s eta 0:00:11\n",
|
449 |
+
" -- ------------------------------------- 0.5/8.6 MB 737.3 kB/s eta 0:00:12\n",
|
450 |
+
" -- ------------------------------------- 0.5/8.6 MB 747.8 kB/s eta 0:00:11\n",
|
451 |
+
" -- ------------------------------------- 0.6/8.6 MB 755.9 kB/s eta 0:00:11\n",
|
452 |
+
" -- ------------------------------------- 0.6/8.6 MB 749.6 kB/s eta 0:00:11\n",
|
453 |
+
" -- ------------------------------------- 0.6/8.6 MB 759.0 kB/s eta 0:00:11\n",
|
454 |
+
" --- ------------------------------------ 0.7/8.6 MB 762.9 kB/s eta 0:00:11\n",
|
455 |
+
" --- ------------------------------------ 0.7/8.6 MB 757.3 kB/s eta 0:00:11\n",
|
456 |
+
" --- ------------------------------------ 0.7/8.6 MB 752.2 kB/s eta 0:00:11\n",
|
457 |
+
" --- ------------------------------------ 0.8/8.6 MB 768.0 kB/s eta 0:00:11\n",
|
458 |
+
" --- ------------------------------------ 0.8/8.6 MB 753.8 kB/s eta 0:00:11\n",
|
459 |
+
" --- ------------------------------------ 0.8/8.6 MB 758.9 kB/s eta 0:00:11\n",
|
460 |
+
" ---- ----------------------------------- 0.9/8.6 MB 773.7 kB/s eta 0:00:10\n",
|
461 |
+
" ---- ----------------------------------- 0.9/8.6 MB 759.2 kB/s eta 0:00:11\n",
|
462 |
+
" ---- ----------------------------------- 1.0/8.6 MB 771.7 kB/s eta 0:00:10\n",
|
463 |
+
" ---- ----------------------------------- 1.0/8.6 MB 767.4 kB/s eta 0:00:10\n",
|
464 |
+
" ---- ----------------------------------- 1.0/8.6 MB 778.8 kB/s eta 0:00:10\n",
|
465 |
+
" ---- ----------------------------------- 1.1/8.6 MB 767.1 kB/s eta 0:00:10\n",
|
466 |
+
" ----- ---------------------------------- 1.1/8.6 MB 771.1 kB/s eta 0:00:10\n",
|
467 |
+
" ----- ---------------------------------- 1.1/8.6 MB 767.3 kB/s eta 0:00:10\n",
|
468 |
+
" ----- ---------------------------------- 1.2/8.6 MB 777.3 kB/s eta 0:00:10\n",
|
469 |
+
" ----- ---------------------------------- 1.2/8.6 MB 782.5 kB/s eta 0:00:10\n",
|
470 |
+
" ----- ---------------------------------- 1.3/8.6 MB 776.4 kB/s eta 0:00:10\n",
|
471 |
+
" ------ --------------------------------- 1.3/8.6 MB 779.1 kB/s eta 0:00:10\n",
|
472 |
+
" ------ --------------------------------- 1.3/8.6 MB 781.7 kB/s eta 0:00:10\n",
|
473 |
+
" ------ --------------------------------- 1.4/8.6 MB 784.1 kB/s eta 0:00:10\n",
|
474 |
+
" ------ --------------------------------- 1.4/8.6 MB 775.4 kB/s eta 0:00:10\n",
|
475 |
+
" ------ --------------------------------- 1.5/8.6 MB 783.4 kB/s eta 0:00:10\n",
|
476 |
+
" ------ --------------------------------- 1.5/8.6 MB 786.4 kB/s eta 0:00:10\n",
|
477 |
+
" ------- -------------------------------- 1.5/8.6 MB 787.7 kB/s eta 0:00:09\n",
|
478 |
+
" ------- -------------------------------- 1.6/8.6 MB 790.9 kB/s eta 0:00:09\n",
|
479 |
+
" ------- -------------------------------- 1.6/8.6 MB 791.6 kB/s eta 0:00:09\n",
|
480 |
+
" ------- -------------------------------- 1.7/8.6 MB 798.3 kB/s eta 0:00:09\n",
|
481 |
+
" ------- -------------------------------- 1.7/8.6 MB 791.4 kB/s eta 0:00:09\n",
|
482 |
+
" -------- ------------------------------- 1.7/8.6 MB 792.4 kB/s eta 0:00:09\n",
|
483 |
+
" -------- ------------------------------- 1.8/8.6 MB 789.5 kB/s eta 0:00:09\n",
|
484 |
+
" -------- ------------------------------- 1.8/8.6 MB 795.7 kB/s eta 0:00:09\n",
|
485 |
+
" -------- ------------------------------- 1.8/8.6 MB 798.3 kB/s eta 0:00:09\n",
|
486 |
+
" -------- ------------------------------- 1.9/8.6 MB 798.7 kB/s eta 0:00:09\n",
|
487 |
+
" --------- ------------------------------ 1.9/8.6 MB 804.4 kB/s eta 0:00:09\n",
|
488 |
+
" --------- ------------------------------ 2.0/8.6 MB 801.5 kB/s eta 0:00:09\n",
|
489 |
+
" --------- ------------------------------ 2.0/8.6 MB 806.9 kB/s eta 0:00:09\n",
|
490 |
+
" --------- ------------------------------ 2.1/8.6 MB 804.4 kB/s eta 0:00:09\n",
|
491 |
+
" --------- ------------------------------ 2.1/8.6 MB 809.6 kB/s eta 0:00:09\n",
|
492 |
+
" --------- ------------------------------ 2.1/8.6 MB 806.8 kB/s eta 0:00:09\n",
|
493 |
+
" ---------- ----------------------------- 2.2/8.6 MB 811.7 kB/s eta 0:00:08\n",
|
494 |
+
" ---------- ----------------------------- 2.2/8.6 MB 813.8 kB/s eta 0:00:08\n",
|
495 |
+
" ---------- ----------------------------- 2.3/8.6 MB 813.8 kB/s eta 0:00:08\n",
|
496 |
+
" ---------- ----------------------------- 2.3/8.6 MB 814.7 kB/s eta 0:00:08\n",
|
497 |
+
" ---------- ----------------------------- 2.4/8.6 MB 815.6 kB/s eta 0:00:08\n",
|
498 |
+
" ----------- ---------------------------- 2.4/8.6 MB 816.8 kB/s eta 0:00:08\n",
|
499 |
+
" ----------- ---------------------------- 2.4/8.6 MB 817.7 kB/s eta 0:00:08\n",
|
500 |
+
" ----------- ---------------------------- 2.5/8.6 MB 818.5 kB/s eta 0:00:08\n",
|
501 |
+
" ----------- ---------------------------- 2.5/8.6 MB 823.6 kB/s eta 0:00:08\n",
|
502 |
+
" ----------- ---------------------------- 2.6/8.6 MB 820.1 kB/s eta 0:00:08\n",
|
503 |
+
" ------------ --------------------------- 2.6/8.6 MB 828.3 kB/s eta 0:00:08\n",
|
504 |
+
" ------------ --------------------------- 2.6/8.6 MB 825.8 kB/s eta 0:00:08\n",
|
505 |
+
" ------------ --------------------------- 2.7/8.6 MB 831.8 kB/s eta 0:00:08\n",
|
506 |
+
" ------------ --------------------------- 2.7/8.6 MB 829.5 kB/s eta 0:00:08\n",
|
507 |
+
" ------------ --------------------------- 2.8/8.6 MB 833.2 kB/s eta 0:00:07\n",
|
508 |
+
" ------------- -------------------------- 2.8/8.6 MB 830.7 kB/s eta 0:00:07\n",
|
509 |
+
" ------------- -------------------------- 2.9/8.6 MB 834.2 kB/s eta 0:00:07\n",
|
510 |
+
" ------------- -------------------------- 2.9/8.6 MB 835.6 kB/s eta 0:00:07\n",
|
511 |
+
" ------------- -------------------------- 3.0/8.6 MB 839.0 kB/s eta 0:00:07\n",
|
512 |
+
" ------------- -------------------------- 3.0/8.6 MB 842.3 kB/s eta 0:00:07\n",
|
513 |
+
" -------------- ------------------------- 3.1/8.6 MB 839.0 kB/s eta 0:00:07\n",
|
514 |
+
" -------------- ------------------------- 3.1/8.6 MB 842.4 kB/s eta 0:00:07\n",
|
515 |
+
" -------------- ------------------------- 3.1/8.6 MB 842.8 kB/s eta 0:00:07\n",
|
516 |
+
" -------------- ------------------------- 3.2/8.6 MB 845.9 kB/s eta 0:00:07\n",
|
517 |
+
" -------------- ------------------------- 3.2/8.6 MB 844.3 kB/s eta 0:00:07\n",
|
518 |
+
" --------------- ------------------------ 3.3/8.6 MB 849.1 kB/s eta 0:00:07\n",
|
519 |
+
" --------------- ------------------------ 3.3/8.6 MB 850.3 kB/s eta 0:00:07\n",
|
520 |
+
" --------------- ------------------------ 3.4/8.6 MB 853.1 kB/s eta 0:00:07\n",
|
521 |
+
" --------------- ------------------------ 3.4/8.6 MB 853.3 kB/s eta 0:00:07\n",
|
522 |
+
" ---------------- ----------------------- 3.5/8.6 MB 852.9 kB/s eta 0:00:07\n",
|
523 |
+
" ---------------- ----------------------- 3.5/8.6 MB 855.6 kB/s eta 0:00:06\n",
|
524 |
+
" ---------------- ----------------------- 3.5/8.6 MB 856.4 kB/s eta 0:00:06\n",
|
525 |
+
" ---------------- ----------------------- 3.6/8.6 MB 859.3 kB/s eta 0:00:06\n",
|
526 |
+
" ---------------- ----------------------- 3.6/8.6 MB 858.6 kB/s eta 0:00:06\n",
|
527 |
+
" ----------------- ---------------------- 3.7/8.6 MB 864.3 kB/s eta 0:00:06\n",
|
528 |
+
" ----------------- ---------------------- 3.7/8.6 MB 864.4 kB/s eta 0:00:06\n",
|
529 |
+
" ----------------- ---------------------- 3.8/8.6 MB 863.7 kB/s eta 0:00:06\n",
|
530 |
+
" ----------------- ---------------------- 3.8/8.6 MB 869.2 kB/s eta 0:00:06\n",
|
531 |
+
" ------------------ --------------------- 3.9/8.6 MB 868.6 kB/s eta 0:00:06\n",
|
532 |
+
" ------------------ --------------------- 4.0/8.6 MB 873.2 kB/s eta 0:00:06\n",
|
533 |
+
" ------------------ --------------------- 4.0/8.6 MB 870.9 kB/s eta 0:00:06\n",
|
534 |
+
" ------------------ --------------------- 4.0/8.6 MB 875.4 kB/s eta 0:00:06\n",
|
535 |
+
" ------------------ --------------------- 4.1/8.6 MB 875.3 kB/s eta 0:00:06\n",
|
536 |
+
" ------------------- -------------------- 4.1/8.6 MB 879.6 kB/s eta 0:00:06\n",
|
537 |
+
" ------------------- -------------------- 4.2/8.6 MB 882.5 kB/s eta 0:00:06\n",
|
538 |
+
" ------------------- -------------------- 4.2/8.6 MB 883.9 kB/s eta 0:00:05\n",
|
539 |
+
" -------------------- ------------------- 4.3/8.6 MB 890.2 kB/s eta 0:00:05\n",
|
540 |
+
" -------------------- ------------------- 4.4/8.6 MB 887.9 kB/s eta 0:00:05\n",
|
541 |
+
" -------------------- ------------------- 4.4/8.6 MB 891.9 kB/s eta 0:00:05\n",
|
542 |
+
" -------------------- ------------------- 4.5/8.6 MB 893.7 kB/s eta 0:00:05\n",
|
543 |
+
" --------------------- ------------------ 4.5/8.6 MB 897.6 kB/s eta 0:00:05\n",
|
544 |
+
" --------------------- ------------------ 4.6/8.6 MB 899.4 kB/s eta 0:00:05\n",
|
545 |
+
" --------------------- ------------------ 4.6/8.6 MB 905.1 kB/s eta 0:00:05\n",
|
546 |
+
" --------------------- ------------------ 4.7/8.6 MB 907.6 kB/s eta 0:00:05\n",
|
547 |
+
" ---------------------- ----------------- 4.8/8.6 MB 910.6 kB/s eta 0:00:05\n",
|
548 |
+
" ---------------------- ----------------- 4.8/8.6 MB 914.1 kB/s eta 0:00:05\n",
|
549 |
+
" ---------------------- ----------------- 4.9/8.6 MB 915.7 kB/s eta 0:00:05\n",
|
550 |
+
" ----------------------- ---------------- 5.0/8.6 MB 922.9 kB/s eta 0:00:04\n",
|
551 |
+
" ----------------------- ---------------- 5.0/8.6 MB 924.4 kB/s eta 0:00:04\n",
|
552 |
+
" ----------------------- ---------------- 5.1/8.6 MB 927.7 kB/s eta 0:00:04\n",
|
553 |
+
" ----------------------- ---------------- 5.1/8.6 MB 931.8 kB/s eta 0:00:04\n",
|
554 |
+
" ------------------------ --------------- 5.2/8.6 MB 934.9 kB/s eta 0:00:04\n",
|
555 |
+
" ------------------------ --------------- 5.2/8.6 MB 934.9 kB/s eta 0:00:04\n",
|
556 |
+
" ------------------------ --------------- 5.2/8.6 MB 934.9 kB/s eta 0:00:04\n",
|
557 |
+
" ------------------------- -------------- 5.4/8.6 MB 948.0 kB/s eta 0:00:04\n",
|
558 |
+
" ------------------------- -------------- 5.4/8.6 MB 945.6 kB/s eta 0:00:04\n",
|
559 |
+
" ------------------------- -------------- 5.5/8.6 MB 945.9 kB/s eta 0:00:04\n",
|
560 |
+
" ------------------------- -------------- 5.5/8.6 MB 947.0 kB/s eta 0:00:04\n",
|
561 |
+
" ------------------------- -------------- 5.6/8.6 MB 948.2 kB/s eta 0:00:04\n",
|
562 |
+
" -------------------------- ------------- 5.6/8.6 MB 949.5 kB/s eta 0:00:04\n",
|
563 |
+
" -------------------------- ------------- 5.7/8.6 MB 950.6 kB/s eta 0:00:04\n",
|
564 |
+
" -------------------------- ------------- 5.7/8.6 MB 949.9 kB/s eta 0:00:04\n",
|
565 |
+
" -------------------------- ------------- 5.8/8.6 MB 951.9 kB/s eta 0:00:03\n",
|
566 |
+
" --------------------------- ------------ 5.8/8.6 MB 955.4 kB/s eta 0:00:03\n",
|
567 |
+
" --------------------------- ------------ 5.9/8.6 MB 952.5 kB/s eta 0:00:03\n",
|
568 |
+
" --------------------------- ------------ 5.9/8.6 MB 955.8 kB/s eta 0:00:03\n",
|
569 |
+
" --------------------------- ------------ 6.0/8.6 MB 954.5 kB/s eta 0:00:03\n",
|
570 |
+
" ---------------------------- ----------- 6.1/8.6 MB 957.2 kB/s eta 0:00:03\n",
|
571 |
+
" ---------------------------- ----------- 6.1/8.6 MB 961.2 kB/s eta 0:00:03\n",
|
572 |
+
" ---------------------------- ----------- 6.2/8.6 MB 961.5 kB/s eta 0:00:03\n",
|
573 |
+
" ---------------------------- ----------- 6.2/8.6 MB 962.4 kB/s eta 0:00:03\n",
|
574 |
+
" ----------------------------- ---------- 6.3/8.6 MB 962.6 kB/s eta 0:00:03\n",
|
575 |
+
" ----------------------------- ---------- 6.3/8.6 MB 965.8 kB/s eta 0:00:03\n",
|
576 |
+
" ----------------------------- ---------- 6.3/8.6 MB 965.8 kB/s eta 0:00:03\n",
|
577 |
+
" ----------------------------- ---------- 6.3/8.6 MB 965.8 kB/s eta 0:00:03\n",
|
578 |
+
" ------------------------------ --------- 6.5/8.6 MB 967.1 kB/s eta 0:00:03\n",
|
579 |
+
" ------------------------------ --------- 6.5/8.6 MB 967.9 kB/s eta 0:00:03\n",
|
580 |
+
" ------------------------------ --------- 6.5/8.6 MB 967.9 kB/s eta 0:00:03\n",
|
581 |
+
" ------------------------------ --------- 6.6/8.6 MB 966.6 kB/s eta 0:00:03\n",
|
582 |
+
" ------------------------------ --------- 6.6/8.6 MB 967.4 kB/s eta 0:00:03\n",
|
583 |
+
" ------------------------------- -------- 6.7/8.6 MB 965.3 kB/s eta 0:00:02\n",
|
584 |
+
" ------------------------------- -------- 6.7/8.6 MB 966.1 kB/s eta 0:00:02\n",
|
585 |
+
" ------------------------------- -------- 6.8/8.6 MB 964.0 kB/s eta 0:00:02\n",
|
586 |
+
" ------------------------------- -------- 6.8/8.6 MB 965.0 kB/s eta 0:00:02\n",
|
587 |
+
" ------------------------------- -------- 6.8/8.6 MB 962.9 kB/s eta 0:00:02\n",
|
588 |
+
" -------------------------------- ------- 6.9/8.6 MB 963.8 kB/s eta 0:00:02\n",
|
589 |
+
" -------------------------------- ------- 6.9/8.6 MB 963.9 kB/s eta 0:00:02\n",
|
590 |
+
" -------------------------------- ------- 7.0/8.6 MB 962.6 kB/s eta 0:00:02\n",
|
591 |
+
" -------------------------------- ------- 7.0/8.6 MB 963.4 kB/s eta 0:00:02\n",
|
592 |
+
" -------------------------------- ------- 7.1/8.6 MB 961.4 kB/s eta 0:00:02\n",
|
593 |
+
" --------------------------------- ------ 7.1/8.6 MB 962.2 kB/s eta 0:00:02\n",
|
594 |
+
" --------------------------------- ------ 7.1/8.6 MB 962.3 kB/s eta 0:00:02\n",
|
595 |
+
" --------------------------------- ------ 7.2/8.6 MB 963.1 kB/s eta 0:00:02\n",
|
596 |
+
" --------------------------------- ------ 7.2/8.6 MB 960.6 kB/s eta 0:00:02\n",
|
597 |
+
" --------------------------------- ------ 7.3/8.6 MB 961.4 kB/s eta 0:00:02\n",
|
598 |
+
" --------------------------------- ------ 7.3/8.6 MB 961.6 kB/s eta 0:00:02\n",
|
599 |
+
" ---------------------------------- ----- 7.4/8.6 MB 960.3 kB/s eta 0:00:02\n",
|
600 |
+
" ---------------------------------- ----- 7.4/8.6 MB 963.1 kB/s eta 0:00:02\n",
|
601 |
+
" ---------------------------------- ----- 7.5/8.6 MB 961.9 kB/s eta 0:00:02\n",
|
602 |
+
" ---------------------------------- ----- 7.5/8.6 MB 962.8 kB/s eta 0:00:02\n",
|
603 |
+
" ----------------------------------- ---- 7.5/8.6 MB 960.9 kB/s eta 0:00:02\n",
|
604 |
+
" ----------------------------------- ---- 7.6/8.6 MB 963.0 kB/s eta 0:00:02\n",
|
605 |
+
" ----------------------------------- ---- 7.6/8.6 MB 961.2 kB/s eta 0:00:02\n",
|
606 |
+
" ----------------------------------- ---- 7.7/8.6 MB 961.9 kB/s eta 0:00:01\n",
|
607 |
+
" ----------------------------------- ---- 7.7/8.6 MB 962.7 kB/s eta 0:00:01\n",
|
608 |
+
" ------------------------------------ --- 7.8/8.6 MB 963.4 kB/s eta 0:00:01\n",
|
609 |
+
" ------------------------------------ --- 7.8/8.6 MB 964.1 kB/s eta 0:00:01\n",
|
610 |
+
" ------------------------------------ --- 7.9/8.6 MB 963.7 kB/s eta 0:00:01\n",
|
611 |
+
" ------------------------------------ --- 7.9/8.6 MB 964.4 kB/s eta 0:00:01\n",
|
612 |
+
" ------------------------------------- -- 8.0/8.6 MB 962.7 kB/s eta 0:00:01\n",
|
613 |
+
" ------------------------------------- -- 8.0/8.6 MB 965.9 kB/s eta 0:00:01\n",
|
614 |
+
" ------------------------------------- -- 8.1/8.6 MB 965.9 kB/s eta 0:00:01\n",
|
615 |
+
" ------------------------------------- -- 8.1/8.6 MB 964.8 kB/s eta 0:00:01\n",
|
616 |
+
" ------------------------------------- -- 8.2/8.6 MB 967.3 kB/s eta 0:00:01\n",
|
617 |
+
" -------------------------------------- - 8.2/8.6 MB 965.0 kB/s eta 0:00:01\n",
|
618 |
+
" -------------------------------------- - 8.3/8.6 MB 965.8 kB/s eta 0:00:01\n",
|
619 |
+
" -------------------------------------- - 8.3/8.6 MB 966.4 kB/s eta 0:00:01\n",
|
620 |
+
" -------------------------------------- - 8.4/8.6 MB 967.1 kB/s eta 0:00:01\n",
|
621 |
+
" --------------------------------------- 8.4/8.6 MB 965.4 kB/s eta 0:00:01\n",
|
622 |
+
" --------------------------------------- 8.5/8.6 MB 967.3 kB/s eta 0:00:01\n",
|
623 |
+
" --------------------------------------- 8.5/8.6 MB 968.5 kB/s eta 0:00:01\n",
|
624 |
+
" --------------------------------------- 8.6/8.6 MB 968.6 kB/s eta 0:00:01\n",
|
625 |
+
" --------------------------------------- 8.6/8.6 MB 969.8 kB/s eta 0:00:01\n",
|
626 |
+
" ---------------------------------------- 8.6/8.6 MB 963.3 kB/s eta 0:00:00\n",
|
627 |
+
"Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n",
|
628 |
+
"Downloading uvicorn-0.30.1-py3-none-any.whl (62 kB)\n",
|
629 |
+
" ---------------------------------------- 0.0/62.4 kB ? eta -:--:--\n",
|
630 |
+
" ---------------------------------------- 62.4/62.4 kB 3.5 MB/s eta 0:00:00\n",
|
631 |
+
"Downloading fastapi-0.111.0-py3-none-any.whl (91 kB)\n",
|
632 |
+
" ---------------------------------------- 0.0/92.0 kB ? eta -:--:--\n",
|
633 |
+
" ------------- -------------------------- 30.7/92.0 kB 1.3 MB/s eta 0:00:01\n",
|
634 |
+
" -------------------------- ------------- 61.4/92.0 kB 812.7 kB/s eta 0:00:01\n",
|
635 |
+
" ---------------------------------------- 92.0/92.0 kB 750.0 kB/s eta 0:00:00\n",
|
636 |
+
"Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n",
|
637 |
+
"Downloading email_validator-2.1.1-py3-none-any.whl (30 kB)\n",
|
638 |
+
"Downloading fastapi_cli-0.0.4-py3-none-any.whl (9.5 kB)\n",
|
639 |
+
"Downloading jsonschema-4.22.0-py3-none-any.whl (88 kB)\n",
|
640 |
+
" ---------------------------------------- 0.0/88.3 kB ? eta -:--:--\n",
|
641 |
+
" ------------------ --------------------- 41.0/88.3 kB 653.6 kB/s eta 0:00:01\n",
|
642 |
+
" --------------------------- ------------ 61.4/88.3 kB 825.8 kB/s eta 0:00:01\n",
|
643 |
+
" ---------------------------------------- 88.3/88.3 kB 716.3 kB/s eta 0:00:00\n",
|
644 |
+
"Downloading starlette-0.37.2-py3-none-any.whl (71 kB)\n",
|
645 |
+
" ---------------------------------------- 0.0/71.9 kB ? eta -:--:--\n",
|
646 |
+
" ----------------- ---------------------- 30.7/71.9 kB 1.3 MB/s eta 0:00:01\n",
|
647 |
+
" ---------------------------------------- 71.9/71.9 kB 790.6 kB/s eta 0:00:00\n",
|
648 |
+
"Downloading anyio-4.4.0-py3-none-any.whl (86 kB)\n",
|
649 |
+
" ---------------------------------------- 0.0/86.8 kB ? eta -:--:--\n",
|
650 |
+
" ------------------ --------------------- 41.0/86.8 kB 991.0 kB/s eta 0:00:01\n",
|
651 |
+
" ---------------------------- ----------- 61.4/86.8 kB 812.7 kB/s eta 0:00:01\n",
|
652 |
+
" ---------------------------------------- 86.8/86.8 kB 702.2 kB/s eta 0:00:00\n",
|
653 |
+
"Downloading ujson-5.10.0-cp312-cp312-win_amd64.whl (42 kB)\n",
|
654 |
+
" ---------------------------------------- 0.0/42.2 kB ? eta -:--:--\n",
|
655 |
+
" ---------------------------------------- 42.2/42.2 kB 1.0 MB/s eta 0:00:00\n",
|
656 |
+
"Downloading websockets-11.0.3-py3-none-any.whl (118 kB)\n",
|
657 |
+
" ---------------------------------------- 0.0/118.1 kB ? eta -:--:--\n",
|
658 |
+
" ---------- ----------------------------- 30.7/118.1 kB 1.3 MB/s eta 0:00:01\n",
|
659 |
+
" --------------------------- ------------ 81.9/118.1 kB 1.1 MB/s eta 0:00:01\n",
|
660 |
+
" ------------------------------------ - 112.6/118.1 kB 930.9 kB/s eta 0:00:01\n",
|
661 |
+
" -------------------------------------- 118.1/118.1 kB 764.7 kB/s eta 0:00:00\n",
|
662 |
+
"Downloading toolz-0.12.1-py3-none-any.whl (56 kB)\n",
|
663 |
+
" ---------------------------------------- 0.0/56.1 kB ? eta -:--:--\n",
|
664 |
+
" ------------------------------------ --- 51.2/56.1 kB 871.5 kB/s eta 0:00:01\n",
|
665 |
+
" ---------------------------------------- 56.1/56.1 kB 976.2 kB/s eta 0:00:00\n",
|
666 |
+
"Downloading dnspython-2.6.1-py3-none-any.whl (307 kB)\n",
|
667 |
+
" ---------------------------------------- 0.0/307.7 kB ? eta -:--:--\n",
|
668 |
+
" --- ------------------------------------ 30.7/307.7 kB 1.4 MB/s eta 0:00:01\n",
|
669 |
+
" ---------- ----------------------------- 81.9/307.7 kB 1.2 MB/s eta 0:00:01\n",
|
670 |
+
" ------------- ------------------------ 112.6/307.7 kB 939.4 kB/s eta 0:00:01\n",
|
671 |
+
" ----------------- -------------------- 143.4/307.7 kB 853.3 kB/s eta 0:00:01\n",
|
672 |
+
" ------------------------ ------------- 194.6/307.7 kB 841.6 kB/s eta 0:00:01\n",
|
673 |
+
" ------------------------------ ------- 245.8/307.7 kB 888.8 kB/s eta 0:00:01\n",
|
674 |
+
" ---------------------------------- --- 276.5/307.7 kB 853.3 kB/s eta 0:00:01\n",
|
675 |
+
" -------------------------------------- 307.7/307.7 kB 864.7 kB/s eta 0:00:00\n",
|
676 |
+
"Downloading httptools-0.6.1-cp312-cp312-win_amd64.whl (55 kB)\n",
|
677 |
+
" ---------------------------------------- 0.0/55.7 kB ? eta -:--:--\n",
|
678 |
+
" ------------------------------------ --- 51.2/55.7 kB 890.4 kB/s eta 0:00:01\n",
|
679 |
+
" ---------------------------------------- 55.7/55.7 kB 732.6 kB/s eta 0:00:00\n",
|
680 |
+
"Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)\n",
|
681 |
+
"Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)\n",
|
682 |
+
"Downloading referencing-0.35.1-py3-none-any.whl (26 kB)\n",
|
683 |
+
"Downloading rpds_py-0.18.1-cp312-none-win_amd64.whl (209 kB)\n",
|
684 |
+
" ---------------------------------------- 0.0/209.3 kB ? eta -:--:--\n",
|
685 |
+
" ------- ------------------------------- 41.0/209.3 kB 991.0 kB/s eta 0:00:01\n",
|
686 |
+
" --------------- ------------------------ 81.9/209.3 kB 1.2 MB/s eta 0:00:01\n",
|
687 |
+
" ----------------------- ---------------- 122.9/209.3 kB 1.0 MB/s eta 0:00:01\n",
|
688 |
+
" --------------------------------- ------ 174.1/209.3 kB 1.1 MB/s eta 0:00:01\n",
|
689 |
+
" -------------------------------------- 209.3/209.3 kB 909.0 kB/s eta 0:00:00\n",
|
690 |
+
"Downloading watchfiles-0.22.0-cp312-none-win_amd64.whl (280 kB)\n",
|
691 |
+
" ---------------------------------------- 0.0/281.0 kB ? eta -:--:--\n",
|
692 |
+
" ----- --------------------------------- 41.0/281.0 kB 991.0 kB/s eta 0:00:01\n",
|
693 |
+
" ----------- ---------------------------- 81.9/281.0 kB 1.2 MB/s eta 0:00:01\n",
|
694 |
+
" ---------------- --------------------- 122.9/281.0 kB 901.1 kB/s eta 0:00:01\n",
|
695 |
+
" ----------------------- -------------- 174.1/281.0 kB 952.6 kB/s eta 0:00:01\n",
|
696 |
+
" --------------------------- ---------- 204.8/281.0 kB 892.5 kB/s eta 0:00:01\n",
|
697 |
+
" ---------------------------------- --- 256.0/281.0 kB 927.4 kB/s eta 0:00:01\n",
|
698 |
+
" -------------------------------------- 281.0/281.0 kB 963.4 kB/s eta 0:00:00\n",
|
699 |
+
"Building wheels for collected packages: ffmpy\n",
|
700 |
+
" Building wheel for ffmpy (pyproject.toml): started\n",
|
701 |
+
" Building wheel for ffmpy (pyproject.toml): finished with status 'done'\n",
|
702 |
+
" Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5607 sha256=c6f10e70677b8e8953333178b20b7dfc4eb4c81f396241c848bc8a772c77ebd6\n",
|
703 |
+
" Stored in directory: c:\\users\\pc\\appdata\\local\\pip\\cache\\wheels\\8a\\63\\a8\\fad16a1c5c990569a478f40782ce543788ddac224288008635\n",
|
704 |
+
"Successfully built ffmpy\n",
|
705 |
+
"Installing collected packages: pydub, ffmpy, websockets, ujson, toolz, tomlkit, semantic-version, ruff, rpds-py, python-multipart, python-dotenv, orjson, importlib-resources, httptools, httpcore, dnspython, anyio, aiofiles, watchfiles, uvicorn, starlette, referencing, huggingface-hub, httpx, email_validator, jsonschema-specifications, gradio-client, jsonschema, fastapi-cli, fastapi, altair, gradio\n",
|
706 |
+
"Successfully installed aiofiles-23.2.1 altair-5.3.0 anyio-4.4.0 dnspython-2.6.1 email_validator-2.1.1 fastapi-0.111.0 fastapi-cli-0.0.4 ffmpy-0.3.2 gradio-4.36.1 gradio-client-1.0.1 httpcore-1.0.5 httptools-0.6.1 httpx-0.27.0 huggingface-hub-0.23.4 importlib-resources-6.4.0 jsonschema-4.22.0 jsonschema-specifications-2023.12.1 orjson-3.10.5 pydub-0.25.1 python-dotenv-1.0.1 python-multipart-0.0.9 referencing-0.35.1 rpds-py-0.18.1 ruff-0.4.9 semantic-version-2.10.0 starlette-0.37.2 tomlkit-0.12.0 toolz-0.12.1 ujson-5.10.0 uvicorn-0.30.1 watchfiles-0.22.0 websockets-11.0.3\n"
|
707 |
+
]
|
708 |
+
},
|
709 |
+
{
|
710 |
+
"name": "stderr",
|
711 |
+
"output_type": "stream",
|
712 |
+
"text": [
|
713 |
+
"\n",
|
714 |
+
"[notice] A new release of pip is available: 23.2.1 -> 24.0\n",
|
715 |
+
"[notice] To update, run: python.exe -m pip install --upgrade pip\n"
|
716 |
+
]
|
717 |
+
}
|
718 |
+
],
|
719 |
+
"source": [
|
720 |
+
"!pip install gradio"
|
721 |
+
]
|
722 |
+
},
|
723 |
+
{
|
724 |
+
"cell_type": "code",
|
725 |
+
"execution_count": 2,
|
726 |
+
"metadata": {},
|
727 |
+
"outputs": [
|
728 |
+
{
|
729 |
+
"name": "stderr",
|
730 |
+
"output_type": "stream",
|
731 |
+
"text": [
|
732 |
+
"Matplotlib is building the font cache; this may take a moment.\n"
|
733 |
+
]
|
734 |
+
},
|
735 |
+
{
|
736 |
+
"ename": "ModuleNotFoundError",
|
737 |
+
"evalue": "No module named 'gradio'",
|
738 |
+
"output_type": "error",
|
739 |
+
"traceback": [
|
740 |
+
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
|
741 |
+
"\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
|
742 |
+
"Cell \u001b[1;32mIn[2], line 2\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mfastai\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mvision\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mall\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;241m*\u001b[39m\n\u001b[1;32m----> 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mgradio\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mgr\u001b[39;00m\n",
|
743 |
+
"\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'gradio'"
|
744 |
+
]
|
745 |
+
}
|
746 |
+
],
|
747 |
+
"source": [
|
748 |
+
"from fastai.vision.all import *\n",
|
749 |
+
"import gradio as gr\n",
|
750 |
+
"def is_cat(x): return x[0].isupper()\n"
|
751 |
+
]
|
752 |
+
},
|
753 |
+
{
|
754 |
+
"cell_type": "code",
|
755 |
+
"execution_count": 17,
|
756 |
+
"metadata": {},
|
757 |
+
"outputs": [
|
758 |
+
{
|
759 |
+
"ename": "NotImplementedError",
|
760 |
+
"evalue": "cannot instantiate 'PosixPath' on your system",
|
761 |
+
"output_type": "error",
|
762 |
+
"traceback": [
|
763 |
+
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
|
764 |
+
"\u001b[1;31mNotImplementedError\u001b[0m Traceback (most recent call last)",
|
765 |
+
"Cell \u001b[1;32mIn[17], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m learn\u001b[38;5;241m=\u001b[39m\u001b[43mload_learner\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mmodel.pkl\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m)\u001b[49m\n",
|
766 |
+
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\fastai\\learner.py:446\u001b[0m, in \u001b[0;36mload_learner\u001b[1;34m(fname, cpu, pickle_module)\u001b[0m\n\u001b[0;32m 444\u001b[0m distrib_barrier()\n\u001b[0;32m 445\u001b[0m map_loc \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcpu\u001b[39m\u001b[38;5;124m'\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m cpu \u001b[38;5;28;01melse\u001b[39;00m default_device()\n\u001b[1;32m--> 446\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m: res \u001b[38;5;241m=\u001b[39m \u001b[43mtorch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfname\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmap_location\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mmap_loc\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpickle_module\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mpickle_module\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m 447\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mAttributeError\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m e: \n\u001b[0;32m 448\u001b[0m e\u001b[38;5;241m.\u001b[39margs \u001b[38;5;241m=\u001b[39m [\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mCustom classes or functions exported with your `Learner` not available in namespace.\u001b[39m\u001b[38;5;124m\\\u001b[39m\u001b[38;5;124mRe-declare/import before loading:\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;130;01m\\t\u001b[39;00m\u001b[38;5;132;01m{\u001b[39;00me\u001b[38;5;241m.\u001b[39margs[\u001b[38;5;241m0\u001b[39m]\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m]\n",
|
767 |
+
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\torch\\serialization.py:1025\u001b[0m, in \u001b[0;36mload\u001b[1;34m(f, map_location, pickle_module, weights_only, mmap, **pickle_load_args)\u001b[0m\n\u001b[0;32m 1023\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mRuntimeError\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[0;32m 1024\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m pickle\u001b[38;5;241m.\u001b[39mUnpicklingError(UNSAFE_MESSAGE \u001b[38;5;241m+\u001b[39m \u001b[38;5;28mstr\u001b[39m(e)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m-> 1025\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43m_load\u001b[49m\u001b[43m(\u001b[49m\u001b[43mopened_zipfile\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1026\u001b[0m \u001b[43m \u001b[49m\u001b[43mmap_location\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1027\u001b[0m \u001b[43m \u001b[49m\u001b[43mpickle_module\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1028\u001b[0m \u001b[43m \u001b[49m\u001b[43moverall_storage\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moverall_storage\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1029\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mpickle_load_args\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m 1030\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m mmap:\n\u001b[0;32m 1031\u001b[0m f_name \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(f, \u001b[38;5;28mstr\u001b[39m) \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mf\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m, \u001b[39m\u001b[38;5;124m\"\u001b[39m\n",
|
768 |
+
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\torch\\serialization.py:1446\u001b[0m, in \u001b[0;36m_load\u001b[1;34m(zip_file, map_location, pickle_module, pickle_file, overall_storage, **pickle_load_args)\u001b[0m\n\u001b[0;32m 1444\u001b[0m unpickler \u001b[38;5;241m=\u001b[39m UnpicklerWrapper(data_file, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mpickle_load_args)\n\u001b[0;32m 1445\u001b[0m unpickler\u001b[38;5;241m.\u001b[39mpersistent_load \u001b[38;5;241m=\u001b[39m persistent_load\n\u001b[1;32m-> 1446\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[43munpickler\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m 1448\u001b[0m torch\u001b[38;5;241m.\u001b[39m_utils\u001b[38;5;241m.\u001b[39m_validate_loaded_sparse_tensors()\n\u001b[0;32m 1449\u001b[0m torch\u001b[38;5;241m.\u001b[39m_C\u001b[38;5;241m.\u001b[39m_log_api_usage_metadata(\n\u001b[0;32m 1450\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtorch.load.metadata\u001b[39m\u001b[38;5;124m\"\u001b[39m, {\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mserialization_id\u001b[39m\u001b[38;5;124m\"\u001b[39m: zip_file\u001b[38;5;241m.\u001b[39mserialization_id()}\n\u001b[0;32m 1451\u001b[0m )\n",
|
769 |
+
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\pathlib.py:1422\u001b[0m, in \u001b[0;36mPosixPath.__new__\u001b[1;34m(cls, *args, **kwargs)\u001b[0m\n\u001b[0;32m 1421\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__new__\u001b[39m(\u001b[38;5;28mcls\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m-> 1422\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mNotImplementedError\u001b[39;00m(\n\u001b[0;32m 1423\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcannot instantiate \u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mcls\u001b[39m\u001b[38;5;241m.\u001b[39m\u001b[38;5;18m__name__\u001b[39m\u001b[38;5;132;01m!r}\u001b[39;00m\u001b[38;5;124m on your system\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n",
|
770 |
+
"\u001b[1;31mNotImplementedError\u001b[0m: cannot instantiate 'PosixPath' on your system"
|
771 |
+
]
|
772 |
+
}
|
773 |
+
],
|
774 |
+
"source": [
|
775 |
+
"learn=load_learner('model.pkl')"
|
776 |
+
]
|
777 |
+
},
|
778 |
+
{
|
779 |
+
"cell_type": "code",
|
780 |
+
"execution_count": null,
|
781 |
+
"metadata": {},
|
782 |
+
"outputs": [],
|
783 |
+
"source": []
|
784 |
+
}
|
785 |
+
],
|
786 |
+
"metadata": {
|
787 |
+
"kernelspec": {
|
788 |
+
"display_name": "Python 3",
|
789 |
+
"language": "python",
|
790 |
+
"name": "python3"
|
791 |
+
},
|
792 |
+
"language_info": {
|
793 |
+
"codemirror_mode": {
|
794 |
+
"name": "ipython",
|
795 |
+
"version": 3
|
796 |
+
},
|
797 |
+
"file_extension": ".py",
|
798 |
+
"mimetype": "text/x-python",
|
799 |
+
"name": "python",
|
800 |
+
"nbconvert_exporter": "python",
|
801 |
+
"pygments_lexer": "ipython3",
|
802 |
+
"version": "3.12.1"
|
803 |
+
}
|
804 |
+
},
|
805 |
+
"nbformat": 4,
|
806 |
+
"nbformat_minor": 2
|
807 |
+
}
|
app.py
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from fastai.vision.all import *
|
3 |
+
import gradio as gr
|
4 |
+
import pathlib
|
5 |
+
|
6 |
+
def is_cat(x): return x[0].isupper()
|
7 |
+
|
8 |
+
temp = pathlib.PosixPath
|
9 |
+
pathlib.PosixPath = pathlib.WindowsPath
|
10 |
+
learn=load_learner('model.pkl')
|
11 |
+
pathlib.PosixPath=temp
|
12 |
+
|
13 |
+
categories = ('Dog', 'Cat')
|
14 |
+
def classify_image(img):
|
15 |
+
pred, idx, probs = learn.predict(img)
|
16 |
+
return dict(zip(categories, map(float, probs)))
|
17 |
+
|
18 |
+
image = gr.components.Image()
|
19 |
+
label = gr.components.Label()
|
20 |
+
examples=['dog.jpg', 'cat.jpg','dunno.jpg']
|
21 |
+
|
22 |
+
a='v'
|
23 |
+
|
24 |
+
interface = gr.Interface(fn=classify_image, inputs=[image], outputs=[label], examples=examples)
|
25 |
+
interface.launch()
|
cat.jpg
ADDED
dog.jpg
ADDED
dunno.jpg
ADDED
model.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:580f0834291241686e668e6f320494ff68ac148660f5f334af5c3df9299e492b
|
3 |
+
size 47064894
|