If you like this, you might also enjoy this video where I deploy the chatbot using Flask: kzbin.info/www/bejne/l2Sac39mqNl8q68 And check out Tabnine, the FREE AI-powered code completion tool I used in this video: www.tabnine.com/?.com&PythonEngineer * ---------------------------------------------------------------------------------------------------------- * This is a sponsored link. You will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
@chaseo3932 Жыл бұрын
This is great. My first application with Tkinter, made it easy to follow along and great explanations!
@kibromgidey91332 жыл бұрын
Helped me Much!
@ridaali31133 жыл бұрын
i have followed all the steps,but it is showing that get response and bot name are not accessable....could you be able to tell me whats the problem because i have tried all the silitions available online but i am unable to resolve the issue.
@liamc5655 Жыл бұрын
I want to know how to make the Bot speak and accept user input from a microphone. If you could point me in the right direction that would be great!
@abhishekprakash9803 Жыл бұрын
how to run in as a webserver...........when i try to run gui ..in docket container....gui is not workih i want to run tk gui in web server how we do that
@nikolaskleanthous51993 жыл бұрын
how can i make it response with API
@DevendraYadav-sf6ry3 жыл бұрын
Can I integrate this to any website
@patloeber3 жыл бұрын
not this but checkout my latest video, there I show how to deploy it to any website
@oz99852 жыл бұрын
sadly for long texts the scrollbar is in the way
@kmaltman6 ай бұрын
See my fix in the above post
@avantikadeshmukh35733 жыл бұрын
can you give me all the details about frontend and backend. What is json and everything?
@avantikadeshmukh35733 жыл бұрын
i am new to python
@Tom-py9vc3 жыл бұрын
yes because some random youtube guy is definitely going to tell you literally everything about python in a single comment
@elonsechelon3 жыл бұрын
Thank you, was actually looking for this, your original chatbot tutorial was the best I've found on KZbin so this is very much appreciated! :D
@patloeber3 жыл бұрын
Thanks! Yeah I figured the original bot only in the terminal was not super cool :D
@charliescott74743 жыл бұрын
This is a great tutorial - thanks!! Do you have any guidance on connecting this to a DB to get the intents? Would be great to see :)
@this.is.nimishka7 ай бұрын
Your chatbot tutorial was absolutely brilliant! I am grateful for the knowledge you shared with us. I gained a lot of valuable insights and feel confident in my ability to create a chatbot now. Thank you for your guidance and expertise.
@rajivram96653 жыл бұрын
can you upload the "app.py" file in github?
@sakshideshpande4128 Жыл бұрын
I appreciate affords you took to explain all the concepts thoroughly that very useful to make a chatbot....but I just want to know how can I add it to my website .
@himanshupatil40202 жыл бұрын
I tried everything about unable to convert it to application.... everytime I get error no module name json
@HamidrezaBahrami-f8p9 ай бұрын
Hi. Could you please make a tutorial on how to create a streamlit GUI for this Ai chatbot?
@hrithikhazarika34882 жыл бұрын
how can i integrate the chatbot to telegram
@CodeWithTomi3 жыл бұрын
Wow.... Nice and new style of tutorial
@patloeber3 жыл бұрын
thanks Tomi. Do I have a new style :D ?
@CodeWithTomi3 жыл бұрын
@@patloeber not really... I meant new type of tutorial, because you've never done a tutorial on GUI before
@devadharshan63283 жыл бұрын
Hi thanks for the course ! can u help to connect this bot with django and react frame works.Thanks
@AcademyOmen3 жыл бұрын
Yeah .. great idea
@patloeber3 жыл бұрын
might be a good project for the future :)
@hardyben Жыл бұрын
hello, Patrick I have a question: self.msg_entry = Entry(bottom_label, bg="#2C3E50", fg=TEXT_COLOR, font=FONT) self.msg_entry.place(relwidth=0.74, relheight=0.06, rely=0.008, relx=0.011) why the relheight equals to 0.06?????? In my opinion, relheight means the relative height to the parent container, which is bottom_label, so the relheight should be 0.9 or 0.8??? I think 0.06 is too small. I can't understand, looking forward to your reply, thanks
@kumarkoushikt24993 жыл бұрын
when I run app.py I am not able to get the GUI pop up, though the execution went fine.
@nwokolobueze72913 жыл бұрын
You might be missing an important line of code.
@ankitajay2342 жыл бұрын
sir when I am importing that function(chatbot) on my main program it will show error... self.app=ChatApplication(self.new_window) TypeError: __init__() takes 1 positional argument but 2 were given
@nwokolobueze72913 жыл бұрын
What an awesome tutorial. I love your prowess when it comes to using already existing modules and methods.
@V.HARSHABTech_AIML6 ай бұрын
how to run the program in vs code?
@Sliver1195 Жыл бұрын
I watched your PlayList about the ChatBot with Python, my question is, how can i make it so the chatbot also considers the context of the chat when calculating the intent, for example if you talked alot about the intent/topic of food like this for example: "Hey what can you tell me about the list of dishes that your restaurant serves" "Answer" "What is the most expensive one?"
@lakshithjaiswal33743 жыл бұрын
bro can u help me i wrote this code in vs code but when i run app. py it runs only in terminal and the gui window doesnt appear i have properly installed tkinter still it runs in terminal only
@lakshithjaiswal33743 жыл бұрын
plz reply
@jayapandey6536 Жыл бұрын
Reply
@senanuremirler68672 жыл бұрын
can you make a tutorial with audio input please, i find how to convert voice to text but i couldnt implement to the chatbot
@patloeber2 жыл бұрын
I have one: kzbin.info/www/bejne/sF6WeoeOnbeZgac
@senanuremirler68672 жыл бұрын
@@patloeber thank you 💖
@BiologyBased3 жыл бұрын
Another question, I downloaded the code and it has 0 errors now and it runs perfectly fine and says "hi, pycharm" but the window doesnt pop up, I dont understand ?
@milindshah253 жыл бұрын
in my case when i run app.py it doesn't gives me tkinter screen it gives me command chatbot which we have done till part4 why this issue happens can you help me
@arijitbanerjee622910 ай бұрын
Thank you sir!! Actually I was finding exactly this kind of video. 🎉❤❤
@nwokolobueze72913 жыл бұрын
I got everything working just fine. Also, I am going to search on how to link such chatbot with a react front end.
@djsid6512 жыл бұрын
Can I make the Chatbot run another Python Script in my computer? Can you please show me how to do it?
@sohairmahmoud85313 жыл бұрын
How can I deploy this chat on mobile app using flutter ? Anyone can help me please with any tutorials ?
@mohitnarwani48212 жыл бұрын
Sir when I am trying to convert it into application with pyinstaller ...I am getting error no module name json
@itmesneha2 жыл бұрын
hello! how do i make the bot send a link as a response?
@MarkAlmeida-Cardy Жыл бұрын
Can you provide details on how to run the UI in docker hosted on Windows? :)
@fvgoya3 жыл бұрын
The idea of using Python GUI is really cool. However, I just don't understand why Python GUI interface still so "1995". Why we can't have more modern design/layout? I know that Python is NOT a design thing. But, will be so nice to use Python WITH a cool layout. Do you know what I mean? I know that there's a way to use HTML to create a layout and use with python and kind converto do an app. I forgot the name of this "package". Anyway. I hope that we can have better Python GUI soon. Even so, Thank You for your content man. You have great stuffs here.
@patloeber3 жыл бұрын
yeah I absolutely know what you mean :D
@Cablamgaming2 Жыл бұрын
How would I get the Chatbot to respond with a hyperlink
@AdmiralPotatoGaming2 жыл бұрын
Hello, this chatbot is awesome. I was wondering if you could make also the web type of chatbot? Thank you.
@iwellbreastfed Жыл бұрын
better off learning web development or django
@ManiKanta-rs3gl2 жыл бұрын
hi! how can we add URL as response? something to change in json intent file? appreciate your help.. thanks :)
@khalil42482 жыл бұрын
hi,, did you find any solution to implement url as a response. please tell me if u did
@Param30213 жыл бұрын
Nice tutorial But really, tkinter apps looks good in Mac compare to windows
@patloeber3 жыл бұрын
Yes, true
@umairarshad70433 жыл бұрын
Brillant work, sir i have a question can we train data to other languages like urdu, arabic etc
@matteodannunzio4063 жыл бұрын
Hi! thanks for tutorial. I need to know how can I extract the word in the patterns that match the word in the sentence. For Example for tag in the code you have "tag = tags[predicted.item()]". Is there any way to do this?
@dimaschandraw.p28963 жыл бұрын
Great tutorial, but how to detect entities like city name, peoples name, and etc on your chatbot model ? thanks
@AKumar19923 жыл бұрын
Is there a way we can add an image icon on the left of the chatbot response instead of having "sam" ?
@khalil42482 жыл бұрын
woah that's a great idea, were u able to implement it??? please tell me also
@ktrivikram13112 жыл бұрын
What extension are you using for terminal? it looks clean. BTW nice tutorial as always.
@sakilahmed67883 жыл бұрын
Please make a video on how to download and add dataset in our chatbot
@nevillemamfred5754 Жыл бұрын
Your code works very but I can't seem to implement my own chat response into the GUI I actually created a chat bot that ran only on my terminal but now I want to run in as a GUI using tkinker
@huybunn73604 күн бұрын
have you fixed it yet? I have trouble like you and i don't know how to fix it
@franciskariuki36032 жыл бұрын
Hello how can you record chats in a txt document?
@kingsleymbonu83703 жыл бұрын
Can you implement python chatbot on joomla website
@oz99852 жыл бұрын
is it possible to deploy this on a website ?
@satyendeshpande72573 жыл бұрын
I installed PyTorch and it runs on cmd but shows an error at import torch when I run train.py Please help.
@patloeber3 жыл бұрын
what Error? maybe you don't use the correct virtual environment
@i.arcturus Жыл бұрын
thank you! this has helped me twice already
@roxyc84103 жыл бұрын
I love your videos ,they ve been a great help for me! Do you have any tutorials or info on how to make one of these chatbots with an ordering system and storing info given to the chatbot in a database?I would be willing to pay for such a tutorial :)
@lovishdhingra8013 жыл бұрын
i am receiving an error no such file directory data.pth please tell me how to fix it
@patloeber3 жыл бұрын
you need to clone the repo and do the training, then it save the file to data.pth
@nwokolobueze72913 жыл бұрын
Am currently trying to see how to make long texts continue on a different line. It might just be a single argument, it anyone knows, please feel free to reply to me. Thanks in ady
@nwokolobueze72913 жыл бұрын
I think the scroll bar is what is blooking the text.
@kmaltman6 ай бұрын
@@nwokolobueze7291 Try this if still working on project, I have totally revised the app, this works and is smoother, I think from memory you will be able to just back up the orig (in case) cut the relevant part and replace with this ### ***************** TEXT_WIDGET with NEW scroll bar WORKS BETTER & does not block text ******************** self.text_widget = Text(self.window, width=20, height=2, bg="#17202A", fg="#EAECEE", ### Text window size colour etc font="Verdana 12", padx=5, pady=5) ### Font and x and y padding self.text_widget.place(relheight=0.745, relwidth=1, rely=0.08) ### 75% of the space used by this widget self.text_widget_scrollbar = Scrollbar(self.text_widget, bd=0) self.text_widget_scrollbar.pack(fill=Y, side=RIGHT) self.text_widget = Text(self.text_widget, yscrollcommand=self.text_widget_scrollbar.set, state=DISABLED, bd=1, padx=6, pady=6, spacing3=8, wrap=WORD, bg="#17202A", fg="#EAECEE", font="Verdana 12", relief=GROOVE, width=10, height=1) self.text_widget.configure(cursor="arrow", state=DISABLED) ### cursor > when over widget, DISABLE STOPS people typing text here self.text_widget.pack(expand=True, fill=BOTH) self.text_widget_scrollbar.config(command=self.text_widget.yview) ### *********************************************** bottom label *******************************************
@stu8924 Жыл бұрын
Thank you so much, great series :)
@adarshkrishnan36992 жыл бұрын
Hi. I'm facing problem to create an independent executable file(combinig all trained data). What code shall I put on terminal ?
@franciskariuki36032 жыл бұрын
I think you should run the train.py in the terminal using the python train.py command
@mohitnarwani48212 жыл бұрын
Did you find the solution...I don't think so you can convert json file
@samnanshaikh96673 жыл бұрын
Hello sir when I run the program It's showing error that module not found : No module name 'chat' Can u please help me out
@ridaali31133 жыл бұрын
have your issue resolved?
@eepikki3 жыл бұрын
yeah, you need the chatbot files name to that part
@nehabehera23442 жыл бұрын
How can we add url as response??
@sourabhjadhav46212 жыл бұрын
This is a beautiful tutorial, Thanks a lot for sharing mate !!
@itsdaniyal4600 Жыл бұрын
what is data.pth purpose?
@mohit68473 жыл бұрын
Thank you sir. U just completed the UI part for PyTorch bot. That bot helped me alot in learning!
@patloeber3 жыл бұрын
nice! glad you like it :)
@c0mplicated2 жыл бұрын
wallpaper link?
@alializadeh45423 жыл бұрын
Thank you for this tutorial. I was wondering if you could make a video about vs code extensions that will help us :)
@patloeber3 жыл бұрын
I already have one on my channel, but try to do another one in the future
@pewdiepie52452 жыл бұрын
How to add speech to text
@harshitapusarla51602 жыл бұрын
please upload code sir
@BiologyBased3 жыл бұрын
I keep getting stuck at something called serialization, idk what to do ?
@patloeber3 жыл бұрын
you need to train the model and serialize + save it correctly (you can use the code on github)
@BiologyBased3 жыл бұрын
@@patloeber Okay thanks a lot !
@himantadihingia76093 жыл бұрын
how can i fix this File "app.py", line 69 self.msg_entry.delete(0, END) ^ IndentationError: unindent does not match any outer indentation level
@patloeber3 жыл бұрын
wrong indentation (I recommend to use always 4 spaces)
@himantadihingia76093 жыл бұрын
@@patloeber yes I fixed it. Thanks for ur reply
@patloeber3 жыл бұрын
@@himantadihingia7609 awesome!
@cutiserzero9632 жыл бұрын
Thank you
@danyalzia69583 жыл бұрын
Great video. Can you also please tell us the theme that you are using in VSCode?
@patloeber3 жыл бұрын
thanks! Night Owl
@saivikas49143 жыл бұрын
is it also possible to make the text returned by bot as a speech?
@eepikki3 жыл бұрын
i believe it is by making the response of the bot speak with the pyttsx3 module
@saivikas49143 жыл бұрын
@@eepikki i have tried that...but my problem is speech is coming first..after that text is getting displayed
@swapnilgupta14553 жыл бұрын
can i put this chatbot into heroku cloud
@patloeber3 жыл бұрын
not this one but check out my latest video :)
@yogeshvasu57523 жыл бұрын
It is Possible show images for responses
@patloeber3 жыл бұрын
haven't tried this but it should be possible
@harinis8153 жыл бұрын
Is it possible to add back ground image in tkinter