done
Browse files- .gitignore +1 -0
- app.py +1 -1
- cat.jpg +0 -0
- dog.jpg +0 -0
- requirements.txt +93 -0
- shiba.jpg +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
/venv
|
app.py
CHANGED
@@ -12,7 +12,7 @@ def classify_image(img):
|
|
12 |
|
13 |
image = gr.inputs.Image(shape=(192, 192))
|
14 |
label = gr.outputs.Label()
|
15 |
-
examples = ['dog.jpg', 'cat.jpg', '
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(inline=False)
|
|
|
12 |
|
13 |
image = gr.inputs.Image(shape=(192, 192))
|
14 |
label = gr.outputs.Label()
|
15 |
+
examples = ['dog.jpg', 'cat.jpg', 'shiba.jpg']
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
18 |
intf.launch(inline=False)
|
cat.jpg
ADDED
dog.jpg
ADDED
requirements.txt
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiofiles==23.2.1
|
2 |
+
altair==5.2.0
|
3 |
+
annotated-types==0.6.0
|
4 |
+
anyio==4.2.0
|
5 |
+
attrs==23.2.0
|
6 |
+
blis==0.7.11
|
7 |
+
catalogue==2.0.10
|
8 |
+
certifi==2023.11.17
|
9 |
+
charset-normalizer==3.3.2
|
10 |
+
click==8.1.7
|
11 |
+
cloudpathlib==0.16.0
|
12 |
+
colorama==0.4.6
|
13 |
+
confection==0.1.4
|
14 |
+
contourpy==1.2.0
|
15 |
+
cycler==0.12.1
|
16 |
+
cymem==2.0.8
|
17 |
+
fastai==2.7.13
|
18 |
+
fastapi==0.108.0
|
19 |
+
fastcore==1.5.29
|
20 |
+
fastdownload==0.0.7
|
21 |
+
fastprogress==1.0.3
|
22 |
+
ffmpy==0.3.1
|
23 |
+
filelock==3.13.1
|
24 |
+
fonttools==4.47.0
|
25 |
+
fsspec==2023.12.2
|
26 |
+
gradio==3.50.0
|
27 |
+
gradio_client==0.6.1
|
28 |
+
h11==0.14.0
|
29 |
+
httpcore==1.0.2
|
30 |
+
httpx==0.26.0
|
31 |
+
huggingface-hub==0.20.2
|
32 |
+
idna==3.6
|
33 |
+
importlib-resources==6.1.1
|
34 |
+
Jinja2==3.1.2
|
35 |
+
joblib==1.3.2
|
36 |
+
jsonschema==4.20.0
|
37 |
+
jsonschema-specifications==2023.12.1
|
38 |
+
kiwisolver==1.4.5
|
39 |
+
langcodes==3.3.0
|
40 |
+
markdown-it-py==3.0.0
|
41 |
+
MarkupSafe==2.1.3
|
42 |
+
matplotlib==3.8.2
|
43 |
+
mdurl==0.1.2
|
44 |
+
mpmath==1.3.0
|
45 |
+
murmurhash==1.0.10
|
46 |
+
networkx==3.2.1
|
47 |
+
numpy==1.26.3
|
48 |
+
orjson==3.9.10
|
49 |
+
packaging==23.2
|
50 |
+
pandas==2.1.4
|
51 |
+
pillow==10.2.0
|
52 |
+
preshed==3.0.9
|
53 |
+
pydantic==2.5.3
|
54 |
+
pydantic_core==2.14.6
|
55 |
+
pydub==0.25.1
|
56 |
+
Pygments==2.17.2
|
57 |
+
pyparsing==3.1.1
|
58 |
+
python-dateutil==2.8.2
|
59 |
+
python-multipart==0.0.6
|
60 |
+
pytz==2023.3.post1
|
61 |
+
PyYAML==6.0.1
|
62 |
+
referencing==0.32.1
|
63 |
+
requests==2.31.0
|
64 |
+
rich==13.7.0
|
65 |
+
rpds-py==0.16.2
|
66 |
+
scikit-learn==1.3.2
|
67 |
+
scipy==1.11.4
|
68 |
+
semantic-version==2.10.0
|
69 |
+
shellingham==1.5.4
|
70 |
+
six==1.16.0
|
71 |
+
smart-open==6.4.0
|
72 |
+
sniffio==1.3.0
|
73 |
+
spacy==3.7.2
|
74 |
+
spacy-legacy==3.0.12
|
75 |
+
spacy-loggers==1.0.5
|
76 |
+
srsly==2.4.8
|
77 |
+
starlette==0.32.0.post1
|
78 |
+
sympy==1.12
|
79 |
+
thinc==8.2.2
|
80 |
+
threadpoolctl==3.2.0
|
81 |
+
tomlkit==0.12.0
|
82 |
+
toolz==0.12.0
|
83 |
+
torch==2.1.2
|
84 |
+
torchvision==0.16.2
|
85 |
+
tqdm==4.66.1
|
86 |
+
typer==0.9.0
|
87 |
+
typing_extensions==4.9.0
|
88 |
+
tzdata==2023.4
|
89 |
+
urllib3==2.1.0
|
90 |
+
uvicorn==0.25.0
|
91 |
+
wasabi==1.1.2
|
92 |
+
weasel==0.3.4
|
93 |
+
websockets==11.0.3
|
shiba.jpg
ADDED