-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
21 lines (19 loc) · 691 Bytes
/
app.py
File metadata and controls
21 lines (19 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
''' Executing this function initiates the application of sentimentLens
creation using NLP to be executed over the Flask channel and deployed on
localhost:5000.
'''
#Import Flask, render_template, request from the flask Framework package : TODO
from flask import Flask
from flask import render_template
app = Flask(__name__)
#Initiate the flask app : TODO
@app.route("/")
def render_index_page():
''' This function initiates the rendering of the main application
page over the Flask channel
'''
return render_template('index.html',)
#TODO
if __name__ == "__main__":
''' This functions executes the flask app and deploys it on localhost:5000
'''#TODO