Skip to content

Commit

Permalink
model update
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfmcoelho committed Mar 14, 2024
1 parent 8a14b16 commit dd3ee2c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ def predict(

return render_template('index.html', ira=True, show_result=True, data=data)

if __name__ == "__main__":
app.run(debug=True)

def preprocess_data(input_data):
print(input_data)
return pd.DataFrame(input_data, index=[0])
Expand All @@ -125,3 +122,8 @@ def make_prediction(model_path, input_data):
prediction = model.predict(input_data)
return prediction

if __name__ == "__main__":
app.run(debug=True, host='0.0.0.0', port=5000)



0 comments on commit dd3ee2c

Please sign in to comment.