fastai
Browse files- .gitignore +1 -0
- app.py +3 -2
- requirements.txt +96 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
env
|
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
|
|
4 |
|
5 |
|
6 |
learn = load_learner('model.pkl')
|
|
|
1 |
import gradio as gr
|
2 |
+
from fastai.vision.all import *
|
3 |
+
|
4 |
+
def is_cat(x): return x[0].is_upper()
|
5 |
|
6 |
|
7 |
learn = load_learner('model.pkl')
|
requirements.txt
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiofiles==23.2.1
|
2 |
+
aiohttp==3.8.6
|
3 |
+
aiosignal==1.3.1
|
4 |
+
altair==5.0.1
|
5 |
+
annotated-types==0.5.0
|
6 |
+
anyio==3.7.1
|
7 |
+
async-timeout==4.0.3
|
8 |
+
asynctest==0.13.0
|
9 |
+
attrs==23.2.0
|
10 |
+
blis==0.7.11
|
11 |
+
catalogue==2.0.10
|
12 |
+
certifi==2023.11.17
|
13 |
+
charset-normalizer==3.3.2
|
14 |
+
click==8.1.7
|
15 |
+
cloudpathlib==0.16.0
|
16 |
+
confection==0.1.4
|
17 |
+
cycler==0.11.0
|
18 |
+
cymem==2.0.8
|
19 |
+
exceptiongroup==1.2.0
|
20 |
+
fastai==2.7.12
|
21 |
+
fastapi==0.103.2
|
22 |
+
fastcore==1.5.29
|
23 |
+
fastdownload==0.0.7
|
24 |
+
fastprogress==1.0.3
|
25 |
+
ffmpy==0.3.1
|
26 |
+
filelock==3.12.2
|
27 |
+
fonttools==4.38.0
|
28 |
+
frozenlist==1.3.3
|
29 |
+
fsspec==2023.1.0
|
30 |
+
gradio==3.34.0
|
31 |
+
gradio-client==0.2.6
|
32 |
+
h11==0.14.0
|
33 |
+
httpcore==0.17.3
|
34 |
+
httpx==0.24.1
|
35 |
+
huggingface-hub==0.16.4
|
36 |
+
idna==3.6
|
37 |
+
importlib-metadata==6.7.0
|
38 |
+
importlib-resources==5.12.0
|
39 |
+
Jinja2==3.1.3
|
40 |
+
joblib==1.3.2
|
41 |
+
jsonschema==4.17.3
|
42 |
+
kiwisolver==1.4.5
|
43 |
+
langcodes==3.3.0
|
44 |
+
linkify-it-py==2.0.2
|
45 |
+
markdown-it-py==2.2.0
|
46 |
+
MarkupSafe==2.1.4
|
47 |
+
matplotlib==3.5.3
|
48 |
+
mdit-py-plugins==0.3.3
|
49 |
+
mdurl==0.1.2
|
50 |
+
multidict==6.0.4
|
51 |
+
murmurhash==1.0.10
|
52 |
+
numpy==1.21.6
|
53 |
+
orjson==3.9.7
|
54 |
+
packaging==23.2
|
55 |
+
pandas==1.3.5
|
56 |
+
Pillow==9.5.0
|
57 |
+
pkgutil-resolve-name==1.3.10
|
58 |
+
preshed==3.0.9
|
59 |
+
pydantic==2.5.3
|
60 |
+
pydantic-core==2.14.6
|
61 |
+
pydub==0.25.1
|
62 |
+
pygments==2.17.2
|
63 |
+
pyparsing==3.1.1
|
64 |
+
pyrsistent==0.19.3
|
65 |
+
python-dateutil==2.8.2
|
66 |
+
python-multipart==0.0.6
|
67 |
+
pytz==2023.3.post1
|
68 |
+
PyYAML==6.0.1
|
69 |
+
requests==2.31.0
|
70 |
+
scikit-learn==1.0.2
|
71 |
+
scipy==1.7.3
|
72 |
+
semantic-version==2.10.0
|
73 |
+
six==1.16.0
|
74 |
+
smart-open==6.4.0
|
75 |
+
sniffio==1.3.0
|
76 |
+
spacy==3.7.2
|
77 |
+
spacy-legacy==3.0.12
|
78 |
+
spacy-loggers==1.0.5
|
79 |
+
srsly==2.4.8
|
80 |
+
starlette==0.27.0
|
81 |
+
thinc==8.2.2
|
82 |
+
threadpoolctl==3.1.0
|
83 |
+
toolz==0.12.1
|
84 |
+
torch==1.13.1
|
85 |
+
torchvision==0.14.1
|
86 |
+
tqdm==4.66.1
|
87 |
+
typer==0.9.0
|
88 |
+
typing-extensions==4.4.0
|
89 |
+
uc-micro-py==1.0.2
|
90 |
+
urllib3==2.0.7
|
91 |
+
uvicorn==0.22.0
|
92 |
+
wasabi==1.1.2
|
93 |
+
weasel==0.3.4
|
94 |
+
websockets==11.0.3
|
95 |
+
yarl==1.9.4
|
96 |
+
zipp==3.15.0
|