Jensen-holm commited on
Commit
33e7a34
·
1 Parent(s): e56bb0b

got changes working on postman

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -13,7 +13,7 @@ app = Flask(
13
  )
14
 
15
  CORS(
16
- app=app,
17
  origins="*",
18
  )
19
 
@@ -23,9 +23,8 @@ def index():
23
  return render_template("index.html")
24
 
25
 
26
- @app.route("/neural-network", methods=["POST", "GET"])
27
  def neural_network():
28
- # parse arguments
29
  algorithm = options["neural-network"]
30
  args = request.json["arguments"]
31
 
 
13
  )
14
 
15
  CORS(
16
+ app,
17
  origins="*",
18
  )
19
 
 
23
  return render_template("index.html")
24
 
25
 
26
+ @app.route("/neural-network", methods=["POST"])
27
  def neural_network():
 
28
  algorithm = options["neural-network"]
29
  args = request.json["arguments"]
30