<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_mods(self, project_path, vars):
 """ Build the mod list to enable """

        # Start with answers from interactive command
        mods = [var.name for var in self.vars if vars[var.name].lower() == 'yes']
        mods = set(mods)

        # Base mods
        for name in self.mods_list:
            mods.add(name)
        
        # Conditionnal mods dependancies
        if 'accounts' in mods or 'contact_form' in mods:
            mods.add('crispy_forms')
            mods.add('recaptcha')
        
        return mods