Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix_model' into fix_model
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-perseus committed Dec 2, 2023
2 parents ac6ac9c + 7a355f9 commit 955121d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import json
from flask import Flask, jsonify, request
from flask_cors import CORS
from deploy.single_prediction import SinglePrediction

app = Flask(__name__)
CORS(app)

single_prediction = SinglePrediction("deploy/model_scripted.pt", "data/preprocessing/raw_features_2024.csv")


Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ requests-cache~=1.1.1
retry-requests~=2.0.0
joblib~=1.3.2
scikit-learn~=1.3.2
flask-cors~=4.0.0

0 comments on commit 955121d

Please sign in to comment.