The post was not added to the feed. Please check your privacy settings.
Fatima Ahmed: Hi, thanks for the video! It is very good and and I like the instructors video on the bottom right. My favorite part is in the end when that chatbot was asking weird questions!
Fatima AhmedI liked that you included your video in the bottom right. Which tool did you use to record and how do you usually put the instructors video in the side like you did in your video? Maybe my other coder friends can so the same...also, is it possible to run... moreI liked that you included your video in the bottom right. Which tool did you use to record and how do you usually put the instructors video in the side like you did in your video? Maybe my other coder friends can so the same...also, is it possible to run your chatbot program from python's IDLE instead of using the command prompt?
April 16, 2018
Masum Bin Alam
I used the software ( OBS studio ). It's free and you can just select multiple input. I used webcam and my desktop......and Yes it's possible to run my chatbot program from python's IDLE instead of using the command prompt..
Fatima Ahmed
ok, can you please send me the source code of your main program? I think you named it ourchatbot in this tutorial. So basically you used the github code and your code together for this chatbot to work, right?
from chatterbot import ChatBot
from chatterbot.trainers import... moreyes...here's the code..
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
import os
bot=ChatBot('Bot')
bot.set_trainer(ListTrainer)
for files in os.listdir ('C:/Users/Masum\Desktop\chatterbot-corpus-master\chatterbot_corpus\data\english/'):
data = open ('C:/Users/Masum\Desktop\chatterbot-corpus-master\chatterbot_corpus\data\english/'+files, 'r').readlines()
bot.train(data)
while True:
message = raw_input ('You:')
if message.strip() != 'Bye':
reply = bot.get_response(message)
print('ChatBot:',reply)
if message.strip() == 'Bye':
print('ChatBot: Bye')
break less
Fatima Ahmed
ok, can you please e-mail me the ourchatbot.py file? I will include it in the main featured article for people to download it...
April 16, 2018
Fatima Ahmed
OK, got the file. Last thing...do you think you can share the original mp4 file also? While adding the music/visual effects before posting to my main site, I may need it, so I dont have to re-record again.
from chatterbot import ChatBot
from chatterbot.trainers import... more