flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
13
BACK_BACK/flask_api/app.py
Executable file
13
BACK_BACK/flask_api/app.py
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
from flask import Flask, request, jsonify
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/tensorflow', methods=['POST'])
|
||||
def tensorflow_endpoint():
|
||||
data = request.json
|
||||
# Aquí procesarías el dato con tu modelo TensorFlow
|
||||
# Por ahora solo lo devolvemos como está
|
||||
return jsonify(data)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(port=5000)
|
||||
Loading…
Add table
Add a link
Reference in a new issue