Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import os
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
@app.route('/')
|
|
|
8 |
def index():
|
9 |
return render_template('index.html')
|
10 |
|
@@ -12,6 +13,10 @@ def index():
|
|
12 |
def feedback():
|
13 |
return render_template("feedback.html")
|
14 |
|
|
|
|
|
|
|
|
|
15 |
@app.route('/upload_audio', methods=['POST'])
|
16 |
def upload_audio():
|
17 |
try:
|
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
@app.route('/')
|
8 |
+
@app.route('/index',methods=['POST'])
|
9 |
def index():
|
10 |
return render_template('index.html')
|
11 |
|
|
|
13 |
def feedback():
|
14 |
return render_template("feedback.html")
|
15 |
|
16 |
+
@app.route('/talk_detail',methods=['POST'])
|
17 |
+
def talk_detail():
|
18 |
+
return render_template("talkDetail.html")
|
19 |
+
|
20 |
@app.route('/upload_audio', methods=['POST'])
|
21 |
def upload_audio():
|
22 |
try:
|