Mariam-courss / app.py
Docfile's picture
Update app.py
7f01bad verified
raw
history blame contribute delete
174 Bytes
from api.index import app, db
# Create databavsem
#tables if they don't exist
with app.app_context():
db.create_all()
if __name__ == '__main__':
app.run(debug=True)