<audio controls src="/files/audio.wav"> </audio> @app.route('/files/<path:path>') def send_file(path): return send_from_directory('files', path)