from otree.api import * from voice import _STIMULI doc = """ Consent and instructions for voice actor recording study """ class C(BaseConstants): NAME_IN_URL = 'onboarding' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 PRIVACY_TEMPLATE = "onboarding/privacy.html" NUM_STATEMENTS = len(_STIMULI) class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass class consent(Page): form_model = 'player' class instructions(Page): form_model = 'player' page_sequence = [ consent, instructions, ]