I tried to run the code for myself by just importing generation_wrapper() directly. With this I got the following error: "UnboundLocalError: local variable 'max' referenced before assignment".
I fixed it using the code provided. I just thought I would share the fix and you can implement it if you want :)
I tried to run the code for myself by just importing generation_wrapper() directly. With this I got the following error: "UnboundLocalError: local variable 'max' referenced before assignment".
I fixed it using the code provided. I just thought I would share the fix and you can implement it if you want :)