facing problem in wifi streaming after disconnecting from ide

hello sir,i am running a neural network code with wifi streaming. But as we disconnect the openmv from the ide,It stops streaming video…when it is connected with the ide,Then it works properly in both frame buffer and over wifi.But as we disconnect openmv from ide,it stops streaming.i am attaching my code,Please check . i am eagerly waiting for your help.

cifar10_fast_espm2.py (3.07 KB)

You need to save the script as main.py

Okay sir. Thank you so much.