noorulain17 commited on
Commit
b981a4f
1 Parent(s): 0dbd301

Upload 5 files

Browse files
Files changed (5) hide show
  1. .gitattributes +0 -34
  2. class_names.txt +200 -0
  3. model.h5 +3 -0
  4. requirements.txt +483 -0
  5. webapp.py +56 -0
.gitattributes CHANGED
@@ -1,35 +1 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
1
  *.h5 filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
class_names.txt ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Black footed Albatross
2
+ Laysan Albatross
3
+ Sooty Albatross
4
+ Groove billed Ani
5
+ Crested Auklet
6
+ Least Auklet
7
+ Parakeet Auklet
8
+ Rhinoceros Auklet
9
+ Brewer Blackbird
10
+ Redwinged Blackbird
11
+ Rusty Blackbird
12
+ Yellow headed Blackbird
13
+ Bobolink
14
+ Indigo Bunting
15
+ Lazuli Bunting
16
+ Painted Bunting
17
+ Cardinal
18
+ Spotted Catbird
19
+ Gray Catbird
20
+ Yellow breasted Chat
21
+ Eastern Towhee
22
+ Chuckwill Widow
23
+ Brandt Cormorant
24
+ Redfaced Cormorant
25
+ Pelagic Cormorant
26
+ Bronzed Cowbird
27
+ Shiny Cowbird
28
+ Brown Creeper
29
+ American Crow
30
+ Fish Crow
31
+ Blackbilled Cuckoo
32
+ Mangrove Cuckoo
33
+ Yellowbilled Cuckoo
34
+ Gray crowned Rosy Finch
35
+ Purple Finch
36
+ Northern Flicker
37
+ Acadian Flycatcher
38
+ Great Crested Flycatcher
39
+ Least Flycatcher
40
+ Olive sided Flycatcher
41
+ Scissor tailed Flycatcher
42
+ Vermilion Flycatcher
43
+ Yellow bellied Flycatcher
44
+ Frigate bird
45
+ NorthernFulmar
46
+ Gadwall
47
+ American Goldfinch
48
+ European Goldfinch
49
+ Boat tailed Grackle
50
+ Eared Grebe
51
+ Horned Grebe
52
+ Pied billed Grebe
53
+ Western Grebe
54
+ Blue Grosbeak
55
+ Evening Grosbeak
56
+ Pine Grosbeak
57
+ Rose breasted Grosbeak
58
+ Pigeon Guillemot
59
+ California Gull
60
+ Glaucouswinged Gull
61
+ Heermann Gull
62
+ Herring Gull
63
+ Ivory Gull
64
+ Ring billed Gull
65
+ Slaty backed Gull
66
+ Western Gull
67
+ Anna Humming bird
68
+ Ruby throated Humming bird
69
+ Rufous Humming bird
70
+ Green Violetear
71
+ Long tailed Jaeger
72
+ Pomarine Jaeger
73
+ Blue Jay
74
+ Florida Jay
75
+ Green Jay
76
+ Dark eyed Junco
77
+ Tropical Kingbird
78
+ Gray Kingbird
79
+ Belted Kingfisher
80
+ Green Kingfisher
81
+ Pied Kingfisher
82
+ Ringed Kingfisher
83
+ White breasted Kingfisher
84
+ Red legged Kittiwake
85
+ Horned Lark
86
+ Pacific Loon
87
+ Mallard
88
+ Western Meadow lark
89
+ Hooded Merganser
90
+ Red breasted Merganser
91
+ Mockingbird
92
+ Night hawk
93
+ Clark Nutcracker
94
+ White breasted Nuthatch
95
+ Baltimore Oriole
96
+ Hooded Oriole
97
+ Orchard Oriole
98
+ Scott Oriole
99
+ Oven bird
100
+ Brown Pelican
101
+ White Pelican
102
+ Western Wood Pewee
103
+ Sayornis
104
+ American Pipit
105
+ Whippoor Will
106
+ Horned Puffin
107
+ Common Raven
108
+ Whitenecked Raven
109
+ American Redstart
110
+ Geococcyx
111
+ Logger head Shrike
112
+ Great Grey Shrike
113
+ Baird Sparrow
114
+ Black throated Sparrow
115
+ Brewer Sparrow
116
+ Chipping Sparrow
117
+ Clay colored Sparrow
118
+ House Sparrow
119
+ Field Sparrow
120
+ Fox Sparrow
121
+ Grasshopper Sparrow
122
+ Harris Sparrow
123
+ Henslow Sparrow
124
+ LeConte Sparrow
125
+ Lincoln Sparrow
126
+ Nelson Sharptailed Sparrow
127
+ Savannah Sparrow
128
+ Seaside Sparrow
129
+ Song Sparrow
130
+ Tree Sparrow
131
+ Vesper Sparrow
132
+ Whitecrowned Sparrow
133
+ Whitethroated Sparrow
134
+ CapeGlossy Starling
135
+ Bank Swallow
136
+ Barn Swallow
137
+ Cliff Swallow
138
+ Tree Swallow
139
+ Scarlet Tanager
140
+ Summer Tanager
141
+ Artic Tern
142
+ Black Tern
143
+ Caspian Tern
144
+ Common Tern
145
+ Elegant Tern
146
+ Forsters Tern
147
+ Least Tern
148
+ Greentailed Towhee
149
+ Brown Thrasher
150
+ Sage Thrasher
151
+ Black capped Vireo
152
+ Blueheaded Vireo
153
+ Philadelphia Vireo
154
+ Redeyed Vireo
155
+ Warbling Vireo
156
+ Whiteeyed Vireo
157
+ Yellow throated Vireo
158
+ Bay breasted Warbler
159
+ Black and white Warbler
160
+ Black throated Blue Warbler
161
+ Blue winged Warbler
162
+ Canada Warbler
163
+ Cape May Warbler
164
+ Cerulean Warbler
165
+ Chestnut sided Warbler
166
+ Golden winged Warbler
167
+ Hooded Warbler
168
+ Kentucky Warbler
169
+ Magnolia Warbler
170
+ Mourning Warbler
171
+ Myrtle Warbler
172
+ Nashville Warbler
173
+ Orange crowned Warbler
174
+ Palm Warbler
175
+ Pine Warbler
176
+ Prairie Warbler
177
+ Prothonotary Warbler
178
+ Swainson Warbler
179
+ Tennessee Warbler
180
+ Wilson Warbler
181
+ Wormeating Warbler
182
+ Yellow Warbler
183
+ Northern Waterthrush
184
+ Louisiana Waterthrush
185
+ Bohemian Waxwing
186
+ Cedar Waxwing
187
+ American Threetoed Woodpecker
188
+ Pileated Woodpecker
189
+ Redbellied Woodpecker
190
+ Redcockaded Woodpecker
191
+ Redheaded Woodpecker
192
+ Downy Woodpecker
193
+ Bewick Wren
194
+ Cactus Wren
195
+ Carolina Wren
196
+ House Wren
197
+ Marsh Wren
198
+ Rock Wren
199
+ Winter Wren
200
+ Common Yellow throat
model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f9e7ef5c355e3a7c696d4f0ab197e5f62e42668a9c84b1047dc9634e53871c8
3
+ size 133
requirements.txt ADDED
@@ -0,0 +1,483 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==1.4.0
2
+ aiofiles==23.2.1
3
+ aiohttp==3.8.6
4
+ aiosignal==1.3.1
5
+ alabaster==0.7.13
6
+ albumentations==1.3.1
7
+ altair==4.2.2
8
+ anyio==3.7.1
9
+ appdirs==1.4.4
10
+ argon2-cffi==23.1.0
11
+ argon2-cffi-bindings==21.2.0
12
+ array-record==0.5.0
13
+ arviz==0.15.1
14
+ astropy==5.3.4
15
+ astunparse==1.6.3
16
+ async-timeout==4.0.3
17
+ atpublic==4.0
18
+ attrs==23.1.0
19
+ audioread==3.0.1
20
+ autograd==1.6.2
21
+ Babel==2.13.0
22
+ backcall==0.2.0
23
+ beautifulsoup4==4.11.2
24
+ bidict==0.22.1
25
+ bigframes==0.10.0
26
+ bleach==6.1.0
27
+ blinker==1.4
28
+ blis==0.7.11
29
+ blosc2==2.0.0
30
+ bokeh==3.2.2
31
+ bqplot==0.12.42
32
+ branca==0.6.0
33
+ build==1.0.3
34
+ CacheControl==0.13.1
35
+ cachetools==5.3.1
36
+ catalogue==2.0.10
37
+ certifi==2023.7.22
38
+ cffi==1.16.0
39
+ chardet==5.2.0
40
+ charset-normalizer==3.3.0
41
+ chex==0.1.7
42
+ click==8.1.7
43
+ click-plugins==1.1.1
44
+ cligj==0.7.2
45
+ cloudpickle==2.2.1
46
+ cmake==3.27.7
47
+ cmdstanpy==1.2.0
48
+ colorcet==3.0.1
49
+ colorlover==0.3.0
50
+ colour==0.1.5
51
+ community==1.0.0b1
52
+ confection==0.1.3
53
+ cons==0.4.6
54
+ contextlib2==21.6.0
55
+ contourpy==1.1.1
56
+ cryptography==41.0.4
57
+ cufflinks==0.17.3
58
+ cupy-cuda11x==11.0.0
59
+ cvxopt==1.3.2
60
+ cvxpy==1.3.2
61
+ cycler==0.12.1
62
+ cymem==2.0.8
63
+ Cython==3.0.4
64
+ dask==2023.8.1
65
+ datascience==0.17.6
66
+ db-dtypes==1.1.1
67
+ dbus-python==1.2.18
68
+ debugpy==1.6.6
69
+ decorator==4.4.2
70
+ defusedxml==0.7.1
71
+ diskcache==5.6.3
72
+ distributed==2023.8.1
73
+ distro==1.7.0
74
+ dlib==19.24.2
75
+ dm-tree==0.1.8
76
+ docutils==0.18.1
77
+ dopamine-rl==4.0.6
78
+ duckdb==0.8.1
79
+ earthengine-api==0.1.375
80
+ easydict==1.10
81
+ ecos==2.0.12
82
+ editdistance==0.6.2
83
+ eerepr==0.0.4
84
+ en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0-py3-none-any.whl#sha256=83276fc78a70045627144786b52e1f2728ad5e29e5e43916ec37ea9c26a11212
85
+ entrypoints==0.4
86
+ et-xmlfile==1.1.0
87
+ etils==1.5.1
88
+ etuples==0.3.9
89
+ exceptiongroup==1.1.3
90
+ fastai==2.7.13
91
+ fastapi==0.104.0
92
+ fastcore==1.5.29
93
+ fastdownload==0.0.7
94
+ fastjsonschema==2.18.1
95
+ fastprogress==1.0.3
96
+ fastrlock==0.8.2
97
+ ffmpy==0.3.1
98
+ filelock==3.12.4
99
+ fiona==1.9.5
100
+ firebase-admin==5.3.0
101
+ Flask==2.2.5
102
+ flatbuffers==23.5.26
103
+ flax==0.7.4
104
+ folium==0.14.0
105
+ fonttools==4.43.1
106
+ frozendict==2.3.8
107
+ frozenlist==1.4.0
108
+ fsspec==2023.6.0
109
+ future==0.18.3
110
+ gast==0.5.4
111
+ gcsfs==2023.6.0
112
+ GDAL==3.4.3
113
+ gdown==4.6.6
114
+ geemap==0.28.2
115
+ gensim==4.3.2
116
+ geocoder==1.38.1
117
+ geographiclib==2.0
118
+ geopandas==0.13.2
119
+ geopy==2.3.0
120
+ gin-config==0.5.0
121
+ glob2==0.7
122
+ google==2.0.3
123
+ google-api-core==2.11.1
124
+ google-api-python-client==2.84.0
125
+ google-auth==2.17.3
126
+ google-auth-httplib2==0.1.1
127
+ google-auth-oauthlib==1.0.0
128
+ google-cloud-bigquery==3.12.0
129
+ google-cloud-bigquery-connection==1.12.1
130
+ google-cloud-bigquery-storage==2.22.0
131
+ google-cloud-core==2.3.3
132
+ google-cloud-datastore==2.15.2
133
+ google-cloud-firestore==2.11.1
134
+ google-cloud-functions==1.13.3
135
+ google-cloud-iam==2.12.2
136
+ google-cloud-language==2.9.1
137
+ google-cloud-resource-manager==1.10.4
138
+ google-cloud-storage==2.8.0
139
+ google-cloud-translate==3.11.3
140
+ google-colab @ file:///colabtools/dist/google-colab-1.0.0.tar.gz#sha256=d9791accf068ca2d187f74cda44a5f0ba5275952c5e7297f243362882fae155b
141
+ google-crc32c==1.5.0
142
+ google-pasta==0.2.0
143
+ google-resumable-media==2.6.0
144
+ googleapis-common-protos==1.61.0
145
+ googledrivedownloader==0.4
146
+ gradio==3.50.2
147
+ gradio_client==0.6.1
148
+ graphviz==0.20.1
149
+ greenlet==3.0.0
150
+ grpc-google-iam-v1==0.12.6
151
+ grpcio==1.59.0
152
+ grpcio-status==1.48.2
153
+ gspread==3.4.2
154
+ gspread-dataframe==3.3.1
155
+ gym==0.25.2
156
+ gym-notices==0.0.8
157
+ h11==0.14.0
158
+ h5netcdf==1.2.0
159
+ h5py==3.9.0
160
+ holidays==0.35
161
+ holoviews==1.17.1
162
+ html5lib==1.1
163
+ httpcore==0.18.0
164
+ httpimport==1.3.1
165
+ httplib2==0.22.0
166
+ httpx==0.25.0
167
+ huggingface-hub==0.18.0
168
+ humanize==4.7.0
169
+ hyperopt==0.2.7
170
+ ibis-framework==6.2.0
171
+ idna==3.4
172
+ imageio==2.31.5
173
+ imageio-ffmpeg==0.4.9
174
+ imagesize==1.4.1
175
+ imbalanced-learn==0.10.1
176
+ imgaug==0.4.0
177
+ importlib-metadata==6.8.0
178
+ importlib-resources==6.1.0
179
+ imutils==0.5.4
180
+ inflect==7.0.0
181
+ iniconfig==2.0.0
182
+ install==1.3.5
183
+ intel-openmp==2023.2.0
184
+ ipyevents==2.0.2
185
+ ipyfilechooser==0.6.0
186
+ ipykernel==5.5.6
187
+ ipyleaflet==0.17.4
188
+ ipython==7.34.0
189
+ ipython-genutils==0.2.0
190
+ ipython-sql==0.5.0
191
+ ipytree==0.2.2
192
+ ipywidgets==7.7.1
193
+ itsdangerous==2.1.2
194
+ jax==0.4.16
195
+ jaxlib @ https://storage.googleapis.com/jax-releases/cuda11/jaxlib-0.4.16+cuda11.cudnn86-cp310-cp310-manylinux2014_x86_64.whl#sha256=78b3a9acfda4bfaae8a1dc112995d56454020f5c02dba4d24c40c906332efd4a
196
+ jeepney==0.7.1
197
+ jieba==0.42.1
198
+ Jinja2==3.1.2
199
+ joblib==1.3.2
200
+ jsonpickle==3.0.2
201
+ jsonschema==4.19.1
202
+ jsonschema-specifications==2023.7.1
203
+ jupyter-client==6.1.12
204
+ jupyter-console==6.1.0
205
+ jupyter-server==1.24.0
206
+ jupyter_core==5.4.0
207
+ jupyterlab-pygments==0.2.2
208
+ jupyterlab-widgets==3.0.9
209
+ kaggle==1.5.16
210
+ keras==2.14.0
211
+ keyring==23.5.0
212
+ kiwisolver==1.4.5
213
+ langcodes==3.3.0
214
+ launchpadlib==1.10.16
215
+ lazr.restfulclient==0.14.4
216
+ lazr.uri==1.0.6
217
+ lazy_loader==0.3
218
+ libclang==16.0.6
219
+ librosa==0.10.1
220
+ lida==0.0.10
221
+ lightgbm==4.0.0
222
+ linkify-it-py==2.0.2
223
+ llmx==0.0.15a0
224
+ llvmlite==0.39.1
225
+ locket==1.0.0
226
+ logical-unification==0.4.6
227
+ lxml==4.9.3
228
+ malloy==2023.1058
229
+ Markdown==3.5
230
+ markdown-it-py==3.0.0
231
+ MarkupSafe==2.1.3
232
+ matplotlib==3.7.1
233
+ matplotlib-inline==0.1.6
234
+ matplotlib-venn==0.11.9
235
+ mdit-py-plugins==0.4.0
236
+ mdurl==0.1.2
237
+ miniKanren==1.0.3
238
+ missingno==0.5.2
239
+ mistune==0.8.4
240
+ mizani==0.9.3
241
+ mkl==2023.2.0
242
+ ml-dtypes==0.2.0
243
+ mlxtend==0.22.0
244
+ more-itertools==10.1.0
245
+ moviepy==1.0.3
246
+ mpmath==1.3.0
247
+ msgpack==1.0.7
248
+ multidict==6.0.4
249
+ multipledispatch==1.0.0
250
+ multitasking==0.0.11
251
+ murmurhash==1.0.10
252
+ music21==9.1.0
253
+ natsort==8.4.0
254
+ nbclassic==1.0.0
255
+ nbclient==0.8.0
256
+ nbconvert==6.5.4
257
+ nbformat==5.9.2
258
+ nest-asyncio==1.5.8
259
+ networkx==3.2
260
+ nibabel==4.0.2
261
+ nltk==3.8.1
262
+ notebook==6.5.5
263
+ notebook_shim==0.2.3
264
+ numba==0.56.4
265
+ numexpr==2.8.7
266
+ numpy==1.23.5
267
+ oauth2client==4.1.3
268
+ oauthlib==3.2.2
269
+ opencv-contrib-python==4.8.0.76
270
+ opencv-python==4.8.0.76
271
+ opencv-python-headless==4.8.1.78
272
+ openpyxl==3.1.2
273
+ opt-einsum==3.3.0
274
+ optax==0.1.7
275
+ orbax-checkpoint==0.4.1
276
+ orjson==3.9.9
277
+ osqp==0.6.2.post8
278
+ packaging==23.2
279
+ pandas==1.5.3
280
+ pandas-datareader==0.10.0
281
+ pandas-gbq==0.17.9
282
+ pandas-stubs==1.5.3.230304
283
+ pandocfilters==1.5.0
284
+ panel==1.2.3
285
+ param==1.13.0
286
+ parso==0.8.3
287
+ parsy==2.1
288
+ partd==1.4.1
289
+ pathlib==1.0.1
290
+ pathy==0.10.2
291
+ patsy==0.5.3
292
+ peewee==3.17.0
293
+ pexpect==4.8.0
294
+ pickleshare==0.7.5
295
+ Pillow==9.4.0
296
+ pip-tools==6.13.0
297
+ platformdirs==3.11.0
298
+ plotly==5.15.0
299
+ plotnine==0.12.3
300
+ pluggy==1.3.0
301
+ polars==0.17.3
302
+ pooch==1.7.0
303
+ portpicker==1.5.2
304
+ prefetch-generator==1.0.3
305
+ preshed==3.0.9
306
+ prettytable==3.9.0
307
+ proglog==0.1.10
308
+ progressbar2==4.2.0
309
+ prometheus-client==0.17.1
310
+ promise==2.3
311
+ prompt-toolkit==3.0.39
312
+ prophet==1.1.5
313
+ proto-plus==1.22.3
314
+ protobuf==3.20.3
315
+ psutil==5.9.5
316
+ psycopg2==2.9.9
317
+ ptyprocess==0.7.0
318
+ py-cpuinfo==9.0.0
319
+ py4j==0.10.9.7
320
+ pyarrow==9.0.0
321
+ pyasn1==0.5.0
322
+ pyasn1-modules==0.3.0
323
+ pycocotools==2.0.7
324
+ pycparser==2.21
325
+ pyct==0.5.0
326
+ pydantic==1.10.13
327
+ pydata-google-auth==1.8.2
328
+ pydot==1.4.2
329
+ pydot-ng==2.0.0
330
+ pydotplus==2.0.2
331
+ PyDrive==1.3.1
332
+ PyDrive2==1.6.3
333
+ pydub==0.25.1
334
+ pyerfa==2.0.1.1
335
+ pygame==2.5.2
336
+ Pygments==2.16.1
337
+ PyGObject==3.42.1
338
+ PyJWT==2.3.0
339
+ pymc==5.7.2
340
+ pymystem3==0.2.0
341
+ PyOpenGL==3.1.7
342
+ pyOpenSSL==23.2.0
343
+ pyparsing==3.1.1
344
+ pyperclip==1.8.2
345
+ pyproj==3.6.1
346
+ pyproject_hooks==1.0.0
347
+ pyshp==2.3.1
348
+ PySocks==1.7.1
349
+ pytensor==2.14.2
350
+ pytest==7.4.2
351
+ python-apt==0.0.0
352
+ python-box==7.1.1
353
+ python-dateutil==2.8.2
354
+ python-louvain==0.16
355
+ python-multipart==0.0.6
356
+ python-slugify==8.0.1
357
+ python-utils==3.8.1
358
+ pytz==2023.3.post1
359
+ pyviz_comms==3.0.0
360
+ PyWavelets==1.4.1
361
+ PyYAML==6.0.1
362
+ pyzmq==23.2.1
363
+ qdldl==0.1.7.post0
364
+ qudida==0.0.4
365
+ ratelim==0.1.6
366
+ referencing==0.30.2
367
+ regex==2023.6.3
368
+ requests==2.31.0
369
+ requests-oauthlib==1.3.1
370
+ requirements-parser==0.5.0
371
+ rich==13.6.0
372
+ rpds-py==0.10.6
373
+ rpy2==3.4.2
374
+ rsa==4.9
375
+ scikit-image==0.19.3
376
+ scikit-learn==1.2.2
377
+ scipy==1.11.3
378
+ scooby==0.8.0
379
+ scs==3.2.3
380
+ seaborn==0.12.2
381
+ SecretStorage==3.3.1
382
+ semantic-version==2.10.0
383
+ Send2Trash==1.8.2
384
+ shapely==2.0.2
385
+ six==1.16.0
386
+ sklearn-pandas==2.2.0
387
+ smart-open==6.4.0
388
+ sniffio==1.3.0
389
+ snowballstemmer==2.2.0
390
+ sortedcontainers==2.4.0
391
+ soundfile==0.12.1
392
+ soupsieve==2.5
393
+ soxr==0.3.7
394
+ spacy==3.6.1
395
+ spacy-legacy==3.0.12
396
+ spacy-loggers==1.0.5
397
+ Sphinx==5.0.2
398
+ sphinxcontrib-applehelp==1.0.7
399
+ sphinxcontrib-devhelp==1.0.5
400
+ sphinxcontrib-htmlhelp==2.0.4
401
+ sphinxcontrib-jsmath==1.0.1
402
+ sphinxcontrib-qthelp==1.0.6
403
+ sphinxcontrib-serializinghtml==1.1.9
404
+ SQLAlchemy==2.0.22
405
+ sqlglot==17.16.2
406
+ sqlparse==0.4.4
407
+ srsly==2.4.8
408
+ stanio==0.3.0
409
+ starlette==0.27.0
410
+ statsmodels==0.14.0
411
+ sympy==1.12
412
+ tables==3.8.0
413
+ tabulate==0.9.0
414
+ tbb==2021.10.0
415
+ tblib==2.0.0
416
+ tenacity==8.2.3
417
+ tensorboard==2.14.1
418
+ tensorboard-data-server==0.7.1
419
+ tensorflow==2.14.0
420
+ tensorflow-datasets==4.9.3
421
+ tensorflow-estimator==2.14.0
422
+ tensorflow-gcs-config==2.14.0
423
+ tensorflow-hub==0.15.0
424
+ tensorflow-io-gcs-filesystem==0.34.0
425
+ tensorflow-metadata==1.14.0
426
+ tensorflow-probability==0.22.0
427
+ tensorstore==0.1.45
428
+ termcolor==2.3.0
429
+ terminado==0.17.1
430
+ text-unidecode==1.3
431
+ textblob==0.17.1
432
+ tf-slim==1.1.0
433
+ thinc==8.1.12
434
+ threadpoolctl==3.2.0
435
+ tifffile==2023.9.26
436
+ tinycss2==1.2.1
437
+ toml==0.10.2
438
+ tomli==2.0.1
439
+ toolz==0.12.0
440
+ torch @ https://download.pytorch.org/whl/cu118/torch-2.1.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=a81b554184492005543ddc32e96469f9369d778dedd195d73bda9bed407d6589
441
+ torchaudio @ https://download.pytorch.org/whl/cu118/torchaudio-2.1.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=cdfd0a129406155eee595f408cafbb92589652da4090d1d2040f5453d4cae71f
442
+ torchdata==0.7.0
443
+ torchsummary==1.5.1
444
+ torchtext==0.16.0
445
+ torchvision @ https://download.pytorch.org/whl/cu118/torchvision-0.16.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=033712f65d45afe806676c4129dfe601ad1321d9e092df62b15847c02d4061dc
446
+ tornado==6.3.2
447
+ tqdm==4.66.1
448
+ traitlets==5.7.1
449
+ traittypes==0.2.1
450
+ triton==2.1.0
451
+ tweepy==4.13.0
452
+ typer==0.9.0
453
+ types-pytz==2023.3.1.1
454
+ types-setuptools==68.2.0.0
455
+ typing_extensions==4.8.0
456
+ tzlocal==5.1
457
+ uc-micro-py==1.0.2
458
+ uritemplate==4.1.1
459
+ urllib3==2.0.7
460
+ uvicorn==0.23.2
461
+ vega-datasets==0.9.0
462
+ wadllib==1.3.6
463
+ wasabi==1.1.2
464
+ wcwidth==0.2.8
465
+ webcolors==1.13
466
+ webencodings==0.5.1
467
+ websocket-client==1.6.4
468
+ websockets==11.0.3
469
+ Werkzeug==3.0.0
470
+ widgetsnbextension==3.6.6
471
+ wordcloud==1.9.2
472
+ wrapt==1.14.1
473
+ xarray==2023.7.0
474
+ xarray-einstats==0.6.0
475
+ xgboost==2.0.0
476
+ xlrd==2.0.1
477
+ xxhash==3.4.1
478
+ xyzservices==2023.10.0
479
+ yarl==1.9.2
480
+ yellowbrick==1.5
481
+ yfinance==0.2.31
482
+ zict==3.0.0
483
+ zipp==3.17.0
webapp.py ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """WebApp.ipynb
3
+
4
+ Automatically generated by Colaboratory.
5
+
6
+ Original file is located at
7
+ https://colab.research.google.com/drive/1zfkfRAvXz7HSYttTtBF19_Y2IfkHFxqK
8
+ """
9
+
10
+ !pip install gradio
11
+
12
+ import tensorflow as tf
13
+ import tensorflow_hub as hub
14
+ import numpy as np
15
+ from PIL import Image
16
+ import gradio as gr
17
+
18
+ # Load your trained model
19
+ model = tf.keras.models.load_model('/content/model.h5', custom_objects={'KerasLayer': hub.KerasLayer})
20
+
21
+ # Define the image size
22
+ IMG_SIZE = 224
23
+
24
+ # Load class names from the text file
25
+ with open('/content/class_names.txt', 'r') as file:
26
+ class_names = [line.strip() for line in file]
27
+
28
+ # Define a function to preprocess the image
29
+ def preprocess_image(image):
30
+ img = tf.image.resize(image, (IMG_SIZE, IMG_SIZE))
31
+ img = img / 255.0 # Normalize pixel values to [0, 1]
32
+ return img.numpy()
33
+
34
+ # Define the prediction function
35
+ def predict_image(img):
36
+ img = Image.fromarray(img.astype('uint8'), 'RGB')
37
+ img = preprocess_image(np.array(img))
38
+ img = np.expand_dims(img, axis=0) # Add batch dimension
39
+ prediction = model.predict(img)
40
+ predicted_class = np.argmax(prediction)
41
+ confidence = np.max(prediction)
42
+ class_name = class_names[predicted_class] if predicted_class < len(class_names) else "Unknown"
43
+ return f"Class: {class_name}, Confidence: {confidence:.4f}"
44
+
45
+ # Create Gradio interface
46
+ iface = gr.Interface(
47
+ fn=predict_image, # Prediction function
48
+ inputs=gr.inputs.Image(shape=(IMG_SIZE, IMG_SIZE)), # Define input type and shape
49
+ outputs="text", # Define output type
50
+ live=True # Enable live mode for real-time predictions
51
+ )
52
+
53
+ # Launch the interface
54
+ iface.launch(share=True)
55
+
56
+ !pip freeze > requirements.txt