Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On message, bot gets stuck in a loop and doesn't post anything. #3

Open
Kanitama-don opened this issue May 23, 2021 · 0 comments
Open

Comments

@Kanitama-don
Copy link

Using the code from the page with no modifications other than necessary ones like token, the makeconvo command works fine, but messaging or mentioning the bot without using makeconvo seems to cause it to get stuck in a loop, endlessly running the results = gpt2.generate() section. I added a print("Test") statement on the next line after the gpt2.generate function and it printed that over and over when I ran the bot and mentioned it on Discord. Something to do with the while loop? I've been out of the loop on programming for years so I'm having trouble figuring it out myself. Any help is appreciated
Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant