Closed codecrust closed 4 years ago
I'm getting the same error.
Hey, thanks for the headsup. Was planning on sunsetting this project but will fix this issue :)
Hey,
A patch was just written for this. Will keep you posted on progress. This error won't be thrown again.
Thanks for your patience :D
Describe the bug After generating the text once it always throws this error
File "C:\Users\hp\AppData\Roaming\Python\Python37\site-packages\gpt2_client\gpt2_client.py", line 154, in generate while n_samples == 0 or generated < n_samples: UnboundLocalError: local variable 'generated' referenced before assignment
Additional code for python program:
Desktop (please complete the following information):