Skip to content

Commit

Permalink
Removed extra comments from server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjcooper committed Nov 30, 2017
1 parent e2e33b8 commit ac0ddf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This project was intended to explore the properties of convolution neural networ
* See [paper](https://arxiv.org/abs/1702.05373 "EMNIST: an extension of MNIST to handwritten letters") for more info

##### Todo
* Update gif with new webserver
* Update gif with new webapp
* Train more models
* RCNN
* Optimize hyperparameters
Expand Down
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def parseImage(imgData):
# Generate response
response = {'prediction': chr(mapping[(int(np.argmax(out, axis=1)[0]))]),
'confidence': str(max(out[0]) * 100)[:6]}
# response = str(response) + '\nConfidence: %s%' % str(confidence)

return jsonify(response)

if __name__ == '__main__':
Expand Down

0 comments on commit ac0ddf5

Please sign in to comment.