Skip to content

Commit

Permalink
endpoint seldon.json looking for he file at wrong location. it is fix…
Browse files Browse the repository at this point in the history
…ed now
  • Loading branch information
lkuma37 committed Jul 27, 2019
1 parent 1c06ab5 commit e44b60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/seldon_core/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def handle_invalid_usage(error):

@app.route("/seldon.json", methods=["GET"])
def openAPI():
return send_from_directory('', "seldon.json")
return send_from_directory('', "openapi/seldon.json")

@app.route("/predict", methods=["GET", "POST"])
def Predict():
Expand Down

0 comments on commit e44b60c

Please sign in to comment.