Skip to content

Commit

Permalink
Merge branch 'master' into RDS-postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
xander-bennett authored Feb 20, 2020
2 parents 0623293 + 82a6444 commit a7cfe0c
Show file tree
Hide file tree
Showing 55 changed files with 93,871 additions and 57,911 deletions.
23 changes: 19 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ venv/
ENV/
env.bak/
venv.bak/
spotipy/spotipy_test/
Flask_AWS/SOUNDDRIP/sounddrip/

# Spyder project settings
.spyderproject
Expand All @@ -111,8 +109,25 @@ Flask_AWS/SOUNDDRIP/sounddrip/

data_collection/env_vars.py
data_collection/final_data/DF_v1.pkl
Flask_AWS/SOUNDDRIP/flask_app.zip
Flask_AWS/SOUNDDRIP/zip_for_aws_sample/flask_app.zip
data_collection/song_list_v2_backup.db
data_collection/song_list.db
data_collection/song_list copy.db
data_collection/for_backend/song_list4.sqlite3
data_collection/final_data/DF_v2.pkl
data_collection/song_list_v2 copy.db
data_collection/song_list_v2.db
data_collection/song_list_v2_backup.db
data_collection/final_data/DF_v3.pkl
model_notebooks/DF_v3.pkl
data_collection/song_list_v3.db
data_collection/final_data/DF_v4.pkl
model_notebooks/DF_genres_hashed.pkl
model_notebooks/DF_v4.pkl
model_notebooks/data/X_array.pkl
model_notebooks/data/song_list_v4_hashed.pkl
model_notebooks/data/song_list_v5_hashed.pkl
model_notebooks/data/DF_Genres_List_v1.pkl
model_notebooks/song_list_v4_hashed.pkl
model_notebooks/song_list_v4_hashed (1).pkl
model_notebooks/DBSCAN_Model.pkl
Flask_AWS/SOUNDDRIP/sounddrip/
2 changes: 2 additions & 0 deletions Flask_AWS/SOUNDDRIP/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
from flask import (Flask, render_template, request,
make_response,
jsonify)
from flask_cors import CORS

from models.predict import predictfunc, get_id, get_features, instantiate_sp


# Create Flask app. Should use "application" as variable name for AWS
application = Flask(__name__)
CORS(application)



Expand Down
1 change: 1 addition & 0 deletions Flask_AWS/SOUNDDRIP/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ certifi==2019.11.28
chardet==3.0.4
click==6.7
Flask==1.1.1
Flask-Cors==3.0.8
gunicorn==20.0.4
heroku3==4.2.1
idna==2.8
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion data_collection/.cache-basslaughter
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"access_token": "BQCFw6c8mbhbrRhloc1eKRUzc7FqF2tFROc0SF7je07DiVIB4uosYNqxh8KsBs8-ypBnibBchF-1DyFn-dtee8NHYugxHVQcc8GBS4qGcsuXkUSb9WEr2gSRFJEfqDegUYOGJJsF_t6QIHX8Iio_HdsRlClW0L6-LOJdYvr4otMB5H5m6QopDKYGaeBMb07sq0zvoN_G-A", "token_type": "Bearer", "expires_in": 3600, "scope": "user-library-read", "expires_at": 1580873201, "refresh_token": "AQCUOvAnslnlnGaRpTpdCjjh7Ol3wqR2MU2o4Sb7Fe7epSe8R424g1X4AVXs2Q00oGaZ8hA_qVPS9a6dUJsDYBAZHTfnTD3qX_tS4ZP7YhB-4blOSiHn_OuDMJyNVxQ5Qj4"}
{"access_token": "BQBpAiCkX8OjtTDoJW26RwdMF8Ww3saqGoF9J5Fkaqli9s1ZVJ54jgB_JZH3bAyBQ8vM8Pa0fxSjuR2vhPR43NSD8BMQ3pLGkJ0UVOQiIbiiQYYAVVUld-SQOgYxsjiKD0bN3hDKgLWU1EfdcVvK5dZKzt0Ku9gb0jSeVxl53cn7xHXKAcvkPLrjlQzrIA-bVqNiR1kaRg", "token_type": "Bearer", "expires_in": 3600, "scope": "user-library-read", "expires_at": 1580945037, "refresh_token": "AQCUOvAnslnlnGaRpTpdCjjh7Ol3wqR2MU2o4Sb7Fe7epSe8R424g1X4AVXs2Q00oGaZ8hA_qVPS9a6dUJsDYBAZHTfnTD3qX_tS4ZP7YhB-4blOSiHn_OuDMJyNVxQ5Qj4"}
917 changes: 917 additions & 0 deletions data_collection/Adding Genre.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions data_collection/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ verify_ssl = true
pandas = "*"
ipykernel = "*"
spotipy = "*"
sqlalchemy = "*"

[requires]
python_version = "3.7"
56 changes: 29 additions & 27 deletions data_collection/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a7cfe0c

Please sign in to comment.