Zackary Hopkins commited on
Commit
c9caa5d
1 Parent(s): beb447e

Fixed requirements and app paths

Browse files
Files changed (3) hide show
  1. app.py +2 -2
  2. housing.csv +0 -0
  3. requirements.txt +1 -422
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import pandas as pd
2
  import gradio as gr
3
  #Get data
4
- housing = pd.read_csv("/content/drive/MyDrive/machine Learning/data/housing.csv")
5
 
6
  #Clean the data and sperate it into lables and features
7
  data_set_clean = housing.dropna(subset=["total_bedrooms"])
@@ -52,7 +52,7 @@ def run_model(input1, intput2, input3, input4, input5, input6, input7, input8):
52
  'headlength':10,
53
  'shrink':0})
54
  plt.savefig('newprediction.png')
55
- output2 = mping.imread(f'/content/newprediction.png')
56
  return output1, output2
57
 
58
  gr.Interface(fn=run_model,
 
1
  import pandas as pd
2
  import gradio as gr
3
  #Get data
4
+ housing = pd.read_csv("housing.csv")
5
 
6
  #Clean the data and sperate it into lables and features
7
  data_set_clean = housing.dropna(subset=["total_bedrooms"])
 
52
  'headlength':10,
53
  'shrink':0})
54
  plt.savefig('newprediction.png')
55
+ output2 = mping.imread(f'newprediction.png')
56
  return output1, output2
57
 
58
  gr.Interface(fn=run_model,
housing.csv ADDED
The diff for this file is too large to render. See raw diff
 
requirements.txt CHANGED
@@ -1,429 +1,8 @@
1
- absl-py==1.2.0
2
- aeppl==0.0.33
3
- aesara==2.7.9
4
- aiohttp==3.8.1
5
- aiosignal==1.2.0
6
- alabaster==0.7.12
7
- albumentations==1.2.1
8
- altair==4.2.0
9
- analytics-python==1.4.0
10
- anyio==3.6.1
11
- appdirs==1.4.4
12
- arviz==0.12.1
13
- astor==0.8.1
14
- astropy==4.3.1
15
- astunparse==1.6.3
16
- async-timeout==4.0.2
17
- asynctest==0.13.0
18
- atari-py==0.2.9
19
- atomicwrites==1.4.1
20
- attrs==22.1.0
21
- audioread==3.0.0
22
- autograd==1.4
23
- Babel==2.10.3
24
- backcall==0.2.0
25
- backoff==1.10.0
26
- bcrypt==4.0.0
27
- beautifulsoup4==4.6.3
28
- bleach==5.0.1
29
- blis==0.7.8
30
- bokeh==2.3.3
31
- branca==0.5.0
32
- bs4==0.0.1
33
- CacheControl==0.12.11
34
- cached-property==1.5.2
35
- cachetools==4.2.4
36
- catalogue==2.0.8
37
- certifi==2022.6.15
38
- cffi==1.15.1
39
- cftime==1.6.1
40
- chardet==3.0.4
41
- charset-normalizer==2.1.1
42
- click==7.1.2
43
- clikit==0.6.2
44
- cloudpickle==1.5.0
45
- cmake==3.22.6
46
- cmdstanpy==1.0.7
47
- colorcet==3.0.0
48
- colorlover==0.3.0
49
- community==1.0.0b1
50
- cons==0.4.5
51
- contextlib2==0.5.5
52
- convertdate==2.4.0
53
- crashtest==0.3.1
54
- crcmod==1.7
55
- cryptography==38.0.1
56
- cufflinks==0.17.3
57
- cvxopt==1.3.0
58
- cvxpy==1.2.1
59
- cycler==0.11.0
60
- cymem==2.0.6
61
- Cython==0.29.32
62
- daft==0.0.4
63
- dask==2022.2.0
64
- datascience==0.17.5
65
- debugpy==1.0.0
66
- decorator==4.4.2
67
- defusedxml==0.7.1
68
- descartes==1.1.0
69
- dill==0.3.5.1
70
- distributed==2022.2.0
71
- dlib==19.24.0
72
- dm-tree==0.1.7
73
- docutils==0.17.1
74
- dopamine-rl==1.0.5
75
- earthengine-api==0.1.323
76
- easydict==1.9
77
- ecos==2.0.10
78
- editdistance==0.5.3
79
- en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.0/en_core_web_sm-3.4.0-py3-none-any.whl
80
- entrypoints==0.4
81
- ephem==4.1.3
82
- et-xmlfile==1.1.0
83
- etils==0.7.1
84
- etuples==0.3.8
85
- fa2==0.3.5
86
- fastai==2.7.9
87
- fastapi==0.85.0
88
- fastcore==1.5.25
89
- fastdownload==0.0.7
90
- fastdtw==0.3.4
91
- fastjsonschema==2.16.1
92
- fastprogress==1.0.3
93
- fastrlock==0.8
94
- feather-format==0.4.1
95
- ffmpy==0.3.0
96
- filelock==3.8.0
97
- firebase-admin==4.4.0
98
- fix-yahoo-finance==0.0.22
99
- Flask==1.1.4
100
- flatbuffers==2.0.7
101
- folium==0.12.1.post1
102
- frozenlist==1.3.1
103
- fsspec==2022.8.2
104
- future==0.16.0
105
- gast==0.5.3
106
- GDAL==2.2.2
107
- gdown==4.4.0
108
- gensim==3.6.0
109
- geographiclib==1.52
110
- geopy==1.17.0
111
- gin-config==0.5.0
112
- glob2==0.7
113
- google==2.0.3
114
- google-api-core==1.31.6
115
- google-api-python-client==1.12.11
116
- google-auth==1.35.0
117
- google-auth-httplib2==0.0.4
118
- google-auth-oauthlib==0.4.6
119
- google-cloud-bigquery==1.21.0
120
- google-cloud-bigquery-storage==1.1.2
121
- google-cloud-core==1.0.3
122
- google-cloud-datastore==1.8.0
123
- google-cloud-firestore==1.7.0
124
- google-cloud-language==1.2.0
125
- google-cloud-storage==1.18.1
126
- google-cloud-translate==1.5.0
127
- google-colab @ file:///colabtools/dist/google-colab-1.0.0.tar.gz
128
- google-pasta==0.2.0
129
- google-resumable-media==0.4.1
130
- googleapis-common-protos==1.56.4
131
- googledrivedownloader==0.4
132
- gradio==3.3.1
133
- graphviz==0.10.1
134
- greenlet==1.1.3
135
- grpcio==1.48.1
136
- gspread==3.4.2
137
- gspread-dataframe==3.0.8
138
- gym==0.25.2
139
- gym-notices==0.0.8
140
- h11==0.12.0
141
- h5py==3.1.0
142
- HeapDict==1.0.1
143
- hijri-converter==2.2.4
144
- holidays==0.15
145
- holoviews==1.14.9
146
- html5lib==1.0.1
147
- httpcore==0.15.0
148
- httpimport==0.5.18
149
- httplib2==0.17.4
150
- httplib2shim==0.0.3
151
- httpstan==4.6.1
152
- httpx==0.23.0
153
- humanize==0.5.1
154
- hyperopt==0.1.2
155
- idna==2.10
156
- imageio==2.9.0
157
- imagesize==1.4.1
158
- imbalanced-learn==0.8.1
159
- imblearn==0.0
160
- imgaug==0.4.0
161
- importlib-metadata==4.12.0
162
- importlib-resources==5.9.0
163
- imutils==0.5.4
164
- inflect==2.1.0
165
- intel-openmp==2022.1.0
166
- intervaltree==2.1.0
167
- ipykernel==5.3.4
168
- ipython==7.9.0
169
- ipython-genutils==0.2.0
170
- ipython-sql==0.3.9
171
- ipywidgets==7.7.1
172
- itsdangerous==1.1.0
173
- jax==0.3.17
174
- jaxlib @ https://storage.googleapis.com/jax-releases/cuda11/jaxlib-0.3.15+cuda11.cudnn805-cp37-none-manylinux2014_x86_64.whl
175
- jieba==0.42.1
176
- Jinja2==2.11.3
177
- joblib==1.1.0
178
- jpeg4py==0.1.4
179
- jsonschema==4.3.3
180
- jupyter-client==6.1.12
181
- jupyter-console==6.1.0
182
- jupyter-core==4.11.1
183
- jupyterlab-widgets==3.0.3
184
- kaggle==1.5.12
185
- kapre==0.3.7
186
- keras==2.8.0
187
- Keras-Preprocessing==1.1.2
188
- keras-vis==0.4.1
189
- kiwisolver==1.4.4
190
- korean-lunar-calendar==0.2.1
191
- langcodes==3.3.0
192
- libclang==14.0.6
193
- librosa==0.8.1
194
- lightgbm==2.2.3
195
- linkify-it-py==1.0.3
196
- llvmlite==0.39.1
197
- lmdb==0.99
198
- locket==1.0.0
199
- logical-unification==0.4.5
200
- LunarCalendar==0.0.9
201
- lxml==4.9.1
202
- Markdown==3.4.1
203
- markdown-it-py==2.1.0
204
- MarkupSafe==2.0.1
205
- marshmallow==3.17.1
206
  matplotlib==3.2.2
207
  matplotlib-venn==0.11.7
208
- mdit-py-plugins==0.3.0
209
- mdurl==0.1.2
210
- miniKanren==1.0.3
211
- missingno==0.5.1
212
- mistune==0.8.4
213
- mizani==0.7.3
214
- mkl==2019.0
215
- mlxtend==0.14.0
216
- monotonic==1.6
217
- more-itertools==8.14.0
218
- moviepy==0.2.3.5
219
- mpmath==1.2.1
220
- msgpack==1.0.4
221
- multidict==6.0.2
222
- multipledispatch==0.6.0
223
- multitasking==0.0.11
224
- murmurhash==1.0.8
225
- music21==5.5.0
226
- natsort==5.5.0
227
- nbconvert==5.6.1
228
- nbformat==5.4.0
229
- netCDF4==1.6.0
230
- networkx==2.6.3
231
- nibabel==3.0.2
232
- nltk==3.7
233
- notebook==5.3.1
234
- numba==0.56.2
235
- numexpr==2.8.3
236
- numpy==1.21.6
237
- oauth2client==4.1.3
238
- oauthlib==3.2.0
239
- okgrade==0.4.3
240
- opencv-contrib-python==4.6.0.66
241
- opencv-python==4.6.0.66
242
- opencv-python-headless==4.6.0.66
243
- openpyxl==3.0.10
244
- opt-einsum==3.3.0
245
- orjson==3.8.0
246
- osqp==0.6.2.post0
247
- packaging==21.3
248
- palettable==3.3.0
249
  pandas==1.3.5
250
  pandas-datareader==0.9.0
251
  pandas-gbq==0.13.3
252
  pandas-profiling==1.4.1
253
- pandocfilters==1.5.0
254
- panel==0.12.1
255
- param==1.12.2
256
- paramiko==2.11.0
257
- parso==0.8.3
258
- partd==1.3.0
259
- pastel==0.2.1
260
- pathlib==1.0.1
261
- pathy==0.6.2
262
- patsy==0.5.2
263
- pep517==0.13.0
264
- pexpect==4.8.0
265
- pickleshare==0.7.5
266
- Pillow==7.1.2
267
- pip-tools==6.2.0
268
- plotly==5.5.0
269
- plotnine==0.8.0
270
- pluggy==0.7.1
271
- pooch==1.6.0
272
- portpicker==1.3.9
273
- prefetch-generator==1.0.1
274
- preshed==3.0.7
275
- prettytable==3.4.1
276
- progressbar2==3.38.0
277
- promise==2.3
278
- prompt-toolkit==2.0.10
279
- prophet==1.1
280
- protobuf==3.17.3
281
- psutil==5.4.8
282
- psycopg2==2.9.3
283
- ptyprocess==0.7.0
284
- py==1.11.0
285
- pyarrow==6.0.1
286
- pyasn1==0.4.8
287
- pyasn1-modules==0.2.8
288
- pycocotools==2.0.4
289
- pycparser==2.21
290
- pycryptodome==3.15.0
291
- pyct==0.4.8
292
- pydantic==1.9.2
293
- pydata-google-auth==1.4.0
294
- pydot==1.3.0
295
- pydot-ng==2.0.0
296
- pydotplus==2.0.2
297
- PyDrive==1.3.1
298
- pydub==0.25.1
299
- pyemd==0.5.1
300
- pyerfa==2.0.0.1
301
- Pygments==2.6.1
302
- pygobject==3.26.1
303
- pylev==1.4.0
304
- pymc==4.1.4
305
- PyMeeus==0.5.11
306
- pymongo==4.2.0
307
- pymystem3==0.2.0
308
- PyNaCl==1.5.0
309
- PyOpenGL==3.1.6
310
- pyparsing==3.0.9
311
- pyrsistent==0.18.1
312
- pysimdjson==3.2.0
313
- pysndfile==1.3.8
314
- PySocks==1.7.1
315
- pystan==3.3.0
316
- pytest==3.6.4
317
- python-apt==0.0.0
318
- python-chess==0.23.11
319
- python-dateutil==2.8.2
320
- python-louvain==0.16
321
- python-multipart==0.0.5
322
- python-slugify==6.1.2
323
- python-utils==3.3.3
324
- pytz==2022.2.1
325
- pyviz-comms==2.2.1
326
- PyWavelets==1.3.0
327
- PyYAML==6.0
328
- pyzmq==23.2.1
329
- qdldl==0.1.5.post2
330
- qudida==0.0.4
331
- regex==2022.6.2
332
- requests==2.23.0
333
- requests-oauthlib==1.3.1
334
- resampy==0.4.0
335
- rfc3986==1.5.0
336
- rpy2==3.4.5
337
- rsa==4.9
338
- scikit-image==0.18.3
339
- scikit-learn==1.0.2
340
- scipy==1.7.3
341
- screen-resolution-extra==0.0.0
342
- scs==3.2.0
343
- seaborn==0.11.2
344
- Send2Trash==1.8.0
345
- setuptools-git==1.2
346
- Shapely==1.8.4
347
- six==1.15.0
348
  sklearn-pandas==1.8.0
349
- smart-open==5.2.1
350
- sniffio==1.3.0
351
- snowballstemmer==2.2.0
352
- sortedcontainers==2.4.0
353
- SoundFile==0.10.3.post1
354
- spacy==3.4.1
355
- spacy-legacy==3.0.10
356
- spacy-loggers==1.0.3
357
- Sphinx==1.8.6
358
- sphinxcontrib-serializinghtml==1.1.5
359
- sphinxcontrib-websupport==1.2.4
360
- SQLAlchemy==1.4.41
361
- sqlparse==0.4.2
362
- srsly==2.4.4
363
- starlette==0.20.4
364
- statsmodels==0.12.2
365
- sympy==1.7.1
366
- tables==3.7.0
367
- tabulate==0.8.10
368
- tblib==1.7.0
369
- tenacity==8.0.1
370
- tensorboard==2.8.0
371
- tensorboard-data-server==0.6.1
372
- tensorboard-plugin-wit==1.8.1
373
- tensorflow==2.8.2+zzzcolab20220719082949
374
- tensorflow-datasets==4.6.0
375
- tensorflow-estimator==2.8.0
376
- tensorflow-gcs-config==2.8.0
377
- tensorflow-hub==0.12.0
378
- tensorflow-io-gcs-filesystem==0.26.0
379
- tensorflow-metadata==1.10.0
380
- tensorflow-probability==0.16.0
381
- termcolor==1.1.0
382
- terminado==0.13.3
383
- testpath==0.6.0
384
- text-unidecode==1.3
385
- textblob==0.15.3
386
- thinc==8.1.0
387
- threadpoolctl==3.1.0
388
- tifffile==2021.11.2
389
- toml==0.10.2
390
- tomli==2.0.1
391
- toolz==0.12.0
392
- torch @ https://download.pytorch.org/whl/cu113/torch-1.12.1%2Bcu113-cp37-cp37m-linux_x86_64.whl
393
- torchaudio @ https://download.pytorch.org/whl/cu113/torchaudio-0.12.1%2Bcu113-cp37-cp37m-linux_x86_64.whl
394
- torchsummary==1.5.1
395
- torchtext==0.13.1
396
- torchvision @ https://download.pytorch.org/whl/cu113/torchvision-0.13.1%2Bcu113-cp37-cp37m-linux_x86_64.whl
397
- tornado==5.1.1
398
- tqdm==4.64.1
399
- traitlets==5.1.1
400
- tweepy==3.10.0
401
- typeguard==2.7.1
402
- typer==0.4.2
403
- typing-extensions==4.1.1
404
- tzlocal==1.5.1
405
- uc-micro-py==1.0.1
406
- ujson==5.4.0
407
- uritemplate==3.0.1
408
- urllib3==1.24.3
409
- uvicorn==0.18.3
410
- vega-datasets==0.9.0
411
- wasabi==0.10.1
412
- wcwidth==0.2.5
413
- webargs==8.2.0
414
- webencodings==0.5.1
415
- websockets==10.3
416
- Werkzeug==1.0.1
417
- widgetsnbextension==3.6.1
418
- wordcloud==1.8.2.2
419
- wrapt==1.14.1
420
- xarray==0.20.2
421
- xarray-einstats==0.2.2
422
- xgboost==0.90
423
- xkit==0.0.0
424
- xlrd==1.1.0
425
- xlwt==1.3.0
426
- yarl==1.8.1
427
- yellowbrick==1.5
428
- zict==2.2.0
429
- zipp==3.8.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  matplotlib==3.2.2
2
  matplotlib-venn==0.11.7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  pandas==1.3.5
4
  pandas-datareader==0.9.0
5
  pandas-gbq==0.13.3
6
  pandas-profiling==1.4.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  sklearn-pandas==1.8.0
8
+ gradio==3.3.1