File size: 340 Bytes
4e7d5b1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from flask import Flask, request, jsonify, render_template
import joblib
app = Flask(__name__)
# Load the model
model = joblib.load('model.joblib')
app = Flask(__name__)
@app.route('/')
def index():
return render_template('Heart Disease Prediction System.html')
if __name__ == '__main__':
app.run(debug=True)
|