from flask import Flask

from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
from config import Config

app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)
login = LoginManager(app)
login.login_view = "login"

from app import routes, models

from app.params import CONDITIONS
rows = db.session.query(models.Condition).count()
if rows == 0:
    for condition in CONDITIONS:
        difficulty = []
        nonverbal = []
        for ii in condition:
            difficulty.append(ii[0])
            nonverbal.append(ii[1])
        db.session.add(models.Condition(difficulty=difficulty, nonverbal=nonverbal, count=0))
db.session.commit()



47a24cd8f1c1f8e550d945b2b866a2b92b14d169
<mask token>

<mask token>
app.config.from_object(Config)
<mask token>
if rows == 0:
    for condition in CONDITIONS:
        difficulty = []
        nonverbal = []
        for ii in condition:
            difficulty.append(ii[0])
            nonverbal.append(ii[1])
        db.session.add(models.Condition(difficulty=difficulty, nonverbal=
            nonverbal, count=0))
db.session.commit()

<mask token>
app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)
login = LoginManager(app)
login.login_view = 'login'
<mask token>
rows = db.session.query(models.Condition).count()
if rows == 0:
    for condition in CONDITIONS:
        difficulty = []
        nonverbal = []
        for ii in condition:
            difficulty.append(ii[0])
            nonverbal.append(ii[1])
        db.session.add(models.Condition(difficulty=difficulty, nonverbal=
            nonverbal, count=0))
db.session.commit()

from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
from config import Config
app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)
login = LoginManager(app)
login.login_view = 'login'
from app import routes, models
from app.params import CONDITIONS
rows = db.session.query(models.Condition).count()
if rows == 0:
    for condition in CONDITIONS:
        difficulty = []
        nonverbal = []
        for ii in condition:
            difficulty.append(ii[0])
            nonverbal.append(ii[1])
        db.session.add(models.Condition(difficulty=difficulty, nonverbal=
            nonverbal, count=0))
db.session.commit()

from flask import Flask

from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
from config import Config

app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)
migrate = Migrate(app, db)
login = LoginManager(app)
login.login_view = "login"

from app import routes, models

from app.params import CONDITIONS
rows = db.session.query(models.Condition).count()
if rows == 0:
    for condition in CONDITIONS:
        difficulty = []
        nonverbal = []
        for ii in condition:
            difficulty.append(ii[0])
            nonverbal.append(ii[1])
        db.session.add(models.Condition(difficulty=difficulty, nonverbal=nonverbal, count=0))
db.session.commit()


