-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
33 lines (25 loc) · 794 Bytes
/
Copy pathmain.py
File metadata and controls
33 lines (25 loc) · 794 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 test import getFrequency
app = Flask(__name__)
@app.route("/")
def main():
return render_template("index.html")
@app.route("/index.html")
def index():
return render_template("index.html")
@app.route("/application.html")
def application():
return render_template("application.html")
@app.route("/contact.html")
def contact():
return render_template("contact.html")
@app.route("/description.html")
def description():
return render_template("description.html")
@app.route("/image.html")
def image():
test = getFrequency("C:/Users/4euge/Downloads/download")
mx = max(test)
return render_template("image.html", test=test, mx=mx)
if __name__ == "__main__":
app.run(debug=True)