-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
33 lines (20 loc) · 649 Bytes
/
app.py
File metadata and controls
33 lines (20 loc) · 649 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from flask import Flask, render_template
from static.Calculations.calculations import *
app = Flask(__name__)
@app.route('/')
def index():
return render_template("index.html", data=overall_data)
@app.route('/Disney')
def disney_page():
return render_template("Disney.html", data=disney_data)
@app.route('/Hulu')
def hulu_page():
return render_template("Hulu.html", data=hulu_data)
@app.route('/Netflix')
def netflix_page():
return render_template("Netflix.html", data=netflix_data)
@app.route('/Prime')
def prime_page():
return render_template("Prime.html", data=prime_data)
if __name__ == '__main__':
app.run()