I train a model and i save in folder static the model
name = name + ".h5" model.save(os.path.join(app.root_path,"static", name )) <