tosanoob commited on
Commit
b0267ac
1 Parent(s): 73beae4

Delete app

Browse files
Files changed (1) hide show
  1. app/app.py +0 -17
app/app.py DELETED
@@ -1,17 +0,0 @@
1
- # app.py
2
- from flask import Flask, request, jsonify
3
-
4
- app = Flask(__name__)
5
-
6
- @app.route('/')
7
- def home():
8
- return "Welcome to the Python API!"
9
-
10
- @app.route('/predict', methods=['POST'])
11
- def predict():
12
- data = request.json
13
- # Here you would include your model prediction logic
14
- return jsonify({"prediction": "some result"})
15
-
16
- if __name__ == '__main__':
17
- app.run(host='0.0.0.0', port=8000)