Skip to content

Commit

Permalink
Agrego ejemplo de crear api Flask para machine learning
Browse files Browse the repository at this point in the history
  • Loading branch information
jbagnatoMacPro committed Jul 23, 2019
1 parent 5ee6006 commit 75edef7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api_ml/mi_server.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""Creando un servidor Flask
"""

from flask import Flask

app = Flask(__name__)

@app.route('/users/<string:nombre>')
def hello_world(nombre=None):

return ("Hola {}!".format(nombre))

0 comments on commit 75edef7

Please sign in to comment.