Preheat oven to 375'F and grease a 9x12 baking dish.Heat a large skillet to medium heat and brown ground meat until there is no pink left. Add cumin and chili powder and mix well to combine.Add shredded sweet potato and salt and cook for another 5 minutes, stirring occasionally. Then add spinach and cook for another minute or two until spinach wilts. Remove from heat and add cilantro and green chiles.Place mixture into bottom of prepared baking dish and pour whisked eggs on top. Give the dish a little jiggle to allow eggs to settle into mixture.Bake for 25-30 minutes, until center is set.