rein0421 commited on
Commit
834ef3b
·
verified ·
1 Parent(s): 86cf157

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ import shutil
10
  app = Flask(__name__)
11
 
12
  @app.route('/')
13
- def root():
14
- return render_template("index.html")
15
 
16
  @app.route('/upload_audio', methods=['POST'])
17
  def upload_audio():
 
10
  app = Flask(__name__)
11
 
12
  @app.route('/')
13
+ def index():
14
+ return send_from_directory(".", "index.html")
15
 
16
  @app.route('/upload_audio', methods=['POST'])
17
  def upload_audio():