Created
June 7, 2020 13:25
-
-
Save IvanNardini/e52416fe9f341bf97a248a652f27b056 to your computer and use it in GitHub Desktop.
MLOps series #2 : Deploy a Recommendation System as Hosted Interactive Web Service on AWS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
This module runs the entire Dash Application | |
''' | |
import dash_table | |
import dash_core_components as component | |
import dash_html_components as html | |
from dash.dependencies import Input, Output | |
from app import * | |
from layouts import c_id_div, predictions_div | |
import callbacks | |
app.layout= html.Div( | |
id="score_gui", children=[ | |
html.H1('Recommendation System for Purchase Data'), | |
html.H2('Scoring Interactive Web Service (Basic Concept)'), | |
html.Br(), | |
html.Div(children=[c_id_div, predictions_div], className="row") | |
]) | |
if __name__ == '__main__': | |
app.run_server(host="0.0.0.0", debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment