Update aitrain.py

This commit is contained in:
insert username here 2021-05-21 08:19:41 -04:00 committed by GitHub
parent 0123281098
commit 0d58f48cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ async def train(ctx):
async def stopbot(ctx): async def stopbot(ctx):
if ctx.author.id == 666378959184855042: if ctx.author.id == 666378959184855042:
await ctx.send("data collection done, I will now log of discord and build an a.i") await ctx.send("data collection done, I will now log of discord and build an a.i")
textgen.train_from_file('train.txt', num_epochs=1) textgen.train_from_file('train.txt', num_epochs=11)
client.run('BOTTOKEN') client.run('BOTTOKEN')