Thanks a lot for your rapid response!! Unfortunately this this approach wont fix my code. Part of the issue is that ai_params is being used outside the scope of the function. Also the error mentioned above remains (invalid initializer). Would you min...
Hi CBabt.2, I encountered the exact same issue as described above and I am trying to figure out how to implement your solution to the problem. Could you please elaborate bit more on how to wrap the above code inside a function. Thanks in advance Best...