ufo-model.pkl file should be in the same directory as app.py (#470)

* ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py

* ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py

* ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py

* ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py

* ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py

* ufo-model.pkl file should be in the same directory as app.py

ufo-model.pkl model file should be in the same directory as app.py
pull/481/head
Ayyuce Demirbas 3 years ago committed by GitHub
parent 71abcb1e58
commit ab556105dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -281,7 +281,7 @@ Ora si può creare un'app Flask per chiamare il modello e restituire risultati s
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

@ -281,7 +281,7 @@ print(model.predict([[50,44,-12]]))
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

@ -281,7 +281,7 @@ print(model.predict([[50,44,-12]]))
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

@ -284,7 +284,7 @@ Agora você pode construir uma aplicação Flask para chamar seu modelo e retorn
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

@ -283,7 +283,7 @@ Finalmente, você está pronto para construir o arquivo python que direciona o c
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

@ -281,7 +281,7 @@ print(model.predict([[50,44,-12]]))
app = Flask(__name__)
model = pickle.load(open("../ufo-model.pkl", "rb"))
model = pickle.load(open("./ufo-model.pkl", "rb"))
@app.route("/")

Loading…
Cancel
Save