What is the best approach for deployment on an arduino nano ESP32 platform

Question:
I want to use an arduino nano esp32 for voice keyword recognition. The keyword is “hey spencer”. I already finished the first step tutorial that produced some training data and made a deployment for the browser, where the keyword was pretty well recongnized. By the way really a great introduction tutorial.
Now I want to do the next step and deploy the model on an arduino nano ESP32 plattform. I use platform IO as development environment. What starting point do you recommend? Starting with an arduino project or an ESP32 project? I want to integrate it into my platform io application which is using the arduino framework and an inmp441 mems microfone. Do you have suggestions for the next step?

Project ID:
plangfeld-project-1

Steps Taken:

  1. Tutorial for key word recognition
  2. Deployment on browser

Environment:

  • Platform: arduino nano esp32
  • Build Environment Details: platform IO