Skip to content

Instantly share code, notes, and snippets.

@IvanNardini
Created June 7, 2020 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IvanNardini/e52416fe9f341bf97a248a652f27b056 to your computer and use it in GitHub Desktop.
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 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