Skip to content

Commit

Permalink
Merge pull request #4 from migurski/patch-2
Browse files Browse the repository at this point in the history
Made hello runnable without gunicorn in debug mode
  • Loading branch information
lyzidiamond committed Jun 17, 2014
2 parents d4c32a0 + 1c61d73 commit 3ed840e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,6 @@ def operation():
@app.route('/centroids', methods=['POST'])
def api_centroids():
return get_centroids(request.data)

if __name__ == '__main__':
app.run(debug=True)

0 comments on commit 3ed840e

Please sign in to comment.