Use gluten-free flour if you have a nut allergy. Make sure it has xanthan gum to provide the stickiness and elasticity that gluten would add. I like Bob's Red Mill Gluten Free 1:1 Baking Flour.