Hello I was trying this code getting following sequence in python terminal. 127.0.0.1 - - [08/Sep/2024 21:58:47] "GET /?msg=hello HTTP/1.1" 200 - 127.0.0.1 - - [08/Sep/2024 21:58:47] "GET /static/style.css HTTP/1.1" 304 -. But not getting any response in chat bot
for the two variables : userHtml and botHtml, two changes were being made which was not present in the copy links provided in description , after doing this , it worked for me . Try doing the same . instead of "user input" , change to "rawText" , "time "to "str_time" , and "bot_response "to "data" as shown below. var userHtml = '' + rawText + '' + str_time + '' + ''; var botHtml = '' + '' + '' + data + '' + str_time + '';
Really great content keep it up!....But instead of dialogpt, if I want to use dataset to communicate through chat interface. any suggestions for that ?
Hello, how can I fix my local host. It says "Hmmm… can't reach this page", I already done many things but still can't reach the local host. In my first time of use the code works but after you change something at 20:04 so that the bot will reply, after I change it like yours the code loads to error saying "Hmmm… can't reach this page". Hope you notice me and also great video tutorial I hope many kind developers like you teach more people like me as a startup developer. Thank you for the response
Hey, I'm getting 304 error "GET /static/style.css HTTP/1.1" 304 - Can you please help me I deleted cache from browser but it's still giving same error.
if any error like this rom flask import Flask, redirect_template, request, jsonify ImportError: cannot import name 'redirect_template' from 'flask' (/usr/lib/python3/dist-packages/flask/__init__.py) then sol :: replace redirect_template to render_template
for the two variables : userHtml and botHtml, two changes were being made which was not present in the copy links provided in description , after doing this , it worked for me . Try doing the same . instead of "user input" , change to "rawText" , "time "to "str_time" , and "bot_response "to "data" as shown below. var userHtml = '' + rawText + '' + str_time + '' + ''; var botHtml = '' + '' + '' + data + '' + str_time + '';
I ve done everything but please help bro Its showing error 'Function ' object has no attribute 'html' My link is not working its showing internal server error😢
Is it possible for flask to handle such things as logins, user account creation, etc., while also having this ai chatbot or It only handles one task like if your creating a chatbot, you can only create a chatbot but without the logins, and registrations, the othing things that you would normally encounter when you create a web application.
@@edwarddoofenschmirtz4436 Yes, Flask can handle almost anything, including registration and creating a full web app. However, using heavy libraries for your chatbot model might make your application harder to deploy because the slug size will be larger. Instead, I would suggest integrating external AI services like Google Generative AI or OpenAI for the chatbot functionality. This approach will keep your Flask application lightweight and easier to manage while still achieving all the required features. Hope this answers your question!
Please can you help me. My chat bot is not taking in text. Once I hit sent it disappears like the same error you got earlier during the video. How do I correct mine?
I am facing error of : raise err the specified module could not be found, Error loading env\Lib\sitre-package\torch\lib\fbgemm.dll or one of the dependencies I uninstalled and reinstalled the torch but getting same error Please help anyone 🤝
You need to use Command + C to copy the folder. Then, type `cd` followed by a space, and use Command + V to paste the folder path. This will change your directory to the chatbot folder, allowing you to run your Python commands.
Thanks for the tutorial! Would you be able to help me troubleshoot it thought? When I upload my files to a hosting server and link it to a domain, I keep getting a 404 error everytime the /get route is trying to be accessed. Would you know why?
Hi i was trying to run this I installed everything but everytime it is showing ModuleNotFoundError No module named flask can you please help me with that
Sometimes It can be an error with your venv. If your venv is active then try typing deactivate in the terminal. Then your gonna want to delete your virtual environment, and create and activate a new one. Sometimes that will fix it.
Hey there! Love the tutorial! I was wanting to know what the issue may be if my chat isn't showing up. The bot will respond to my inputs, but only the bot's responses are showing up in the chat log with none of mine appearing in it. Any tips would be greatly appreciated.
Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
It will work you need to look at the end points of the model that you will use, in our case change the function get_chat_response with your model function or change it to an api call
Everything went well.... But i am getting error at the end.... After entering python app.py ....... That cannot import AutoModelForCasualLM from transformer .... Please help asap i'm having my project tomorrow
whenever i redirect,it shows following error: Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. please help
Could it be because of an internet connection issue? Usually if the error does not specify where the error is or if it's hard to debug, I copy the message and ask chatGPT with a short description what could be the error. It usually tells me the possible issues.
@@bernardasare3210 You cannot train it for a specific reason through this model you have to use models which can be trained such as OpenAI, go check my video where I integrated ChatGPT into this template
@@bernardasare3210 ruclips.net/video/i8wxZwkBpwo/видео.htmlsi=_obutrWUOSc6vp5l Through this you’ll be to use ChatGPT and in OpenAI create your custom GPT and link that into the app.py using your custom API Key
Thank you for the great tutorial. It works great. However, the Microsoft DialoGPT is really poor. How to use a different LLM model? or even ChatGPT API instead?
Can you please share your error that you get when your run the python file. Question: Have you installed the requirement.txt file, and also do you have Pip and python installed?
Hey @binaryhood I need a help, how do I integrate this GUI with my own collaborative filtering ipynb python code??It would be really helpful if you reply to this message
This is a text based Chat-bot, to generate images from a chat bot you need to explore different models. In this video I used hugging face library, they also provide text to image models too, check this out huggingface.co/models?pipeline_tag=text-to-image&sort=downloads
I’ve upgraded the chatbot and released Chatbot v2! Check it out here ruclips.net/video/hcXHfoHGiEA/видео.htmlsi=nRToz-wAEFdpSvOi
Brilliant GUI, thank you!
If I change the API to an updated version, will the chatbot work on a better version or something'll go wrong?
How to add you own json file as a database rather using microsoft or chat gpt api
Thank you sooo much for your mentorship
Hello I was trying this code getting following sequence in python terminal. 127.0.0.1 - - [08/Sep/2024 21:58:47] "GET /?msg=hello HTTP/1.1" 200 -
127.0.0.1 - - [08/Sep/2024 21:58:47] "GET /static/style.css HTTP/1.1" 304 -. But not getting any response in chat bot
Same with me
for the two variables : userHtml and botHtml, two changes were being made which was not present in the copy links provided in description , after doing this , it worked for me . Try doing the same . instead of "user input" , change to "rawText" , "time "to "str_time" , and "bot_response "to "data"
as shown below.
var userHtml = '' + rawText +
'' + str_time + '' +
'';
var botHtml = '' +
'' +
'' + data +
'' + str_time + '';
Very nice WebUI
VERY USEFUL! THANK YOU SO MUCH BRO
Really great content keep it up!....But instead of dialogpt, if I want to use dataset to communicate through chat interface. any suggestions for that ?
I'm searching for that now ....😢
Your Videos are awsome please increase your Voice soon 10k Subs
Thank you for your effort! :)
how do you stream output instead of sending it all at once?
very good question , i hope that he could read your comment
Hello, how can I fix my local host. It says "Hmmm… can't reach this page", I already done many things but still can't reach the local host. In my first time of use the code works but after you change something at 20:04 so that the bot will reply, after I change it like yours the code loads to error saying "Hmmm… can't reach this page". Hope you notice me and also great video tutorial I hope many kind developers like you teach more people like me as a startup developer. Thank you for the response
finally i did it... thank you very much... you got a subsriber
on live hosting do i get encouter problem ?
Hey, I'm getting 304 error "GET /static/style.css HTTP/1.1" 304 - Can you please help me I deleted cache from browser but it's still giving same error.
Status: 304 isn't actually an error. Check properly it might be something else
You sure u saved style.css on static folder
304 is not an error
How do I link the bot to my blog on Blogger?
Use Cloud Platform like Heroku, AWS or Azure and then link it with your blogging website
thaks bro
if any error like this rom flask import Flask, redirect_template, request, jsonify
ImportError: cannot import name 'redirect_template' from 'flask' (/usr/lib/python3/dist-packages/flask/__init__.py)
then sol :: replace redirect_template to render_template
why were you typing redirect_template though?
After installation of requirement python app.py i am nor getting any url for server which command give to get link of the server
are you able to resolve it ?
can the chatbot answer all the user question correctly or closest answer?
yeah, have you tried it out
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
when I run: pip install -r requirements.txt
check the directory you are in
awesome !! thank you !!
You just gained a subscriber ❤🎉
Can this keep the Conversation context of multiple users separate?
how to format the output of the chatbot? (bold, italic, bullet points, new lines, etc)
Good
thanks for the video, but is there a way to fine-tune this dialogpt for our own purposes
Hey mate it is running successfully but not giving any reply like I am greeting it a hello and bo reply cames back how can I resolve it
for the two variables : userHtml and botHtml, two changes were being made which was not present in the copy links provided in description , after doing this , it worked for me . Try doing the same . instead of "user input" , change to "rawText" , "time "to "str_time" , and "bot_response "to "data"
as shown below.
var userHtml = '' + rawText +
'' + str_time + '' +
'';
var botHtml = '' +
'' +
'' + data +
'' + str_time + '';
Thank you! I have learned!
you deserve a million comments
New video idea : YT comment bot XD
I ve done everything but please help bro
Its showing error
'Function ' object has no attribute 'html'
My link is not working its showing internal server error😢
its the appendex
21:06
Is it possible for flask to handle such things as logins, user account creation, etc., while also having this ai chatbot or It only handles one task like if your creating a chatbot, you can only create a chatbot but without the logins, and registrations, the othing things that you would normally encounter when you create a web application.
@@edwarddoofenschmirtz4436
Yes, Flask can handle almost anything, including registration and creating a full web app. However, using heavy libraries for your chatbot model might make your application harder to deploy because the slug size will be larger. Instead, I would suggest integrating external AI services like Google Generative AI or OpenAI for the chatbot functionality. This approach will keep your Flask application lightweight and easier to manage while still achieving all the required features.
Hope this answers your question!
8:09 umm this is soo helpful but mine isn't showing template
Thank you!!
Thanks for you time, i really apreciate your work, please, can you do a tutorial for chatbot with Chat GPT y Django.
Please check this video
ruclips.net/video/i8wxZwkBpwo/видео.html
everything went well... but i am not getting response from the chatbot... how to resolve it ?
Does it run on pycharm?
Can this serve multiple users with their own individual chats?
Sure, have you tried it out
How did we train with our data?
The chatbot isn't replying back. What should I do?
same
Did you make sure that you added the user HTML code, that will show your responses, 14:00 min
Please can you help me. My chat bot is not taking in text. Once I hit sent it disappears like the same error you got earlier during the video. How do I correct mine?
Same problem what should I do??
@@binaryhoodwhat should I do I added it
I am facing error of :
raise err the specified module could not be found, Error loading env\Lib\sitre-package\torch\lib\fbgemm.dll or one of the dependencies
I uninstalled and reinstalled the torch but getting same error
Please help anyone 🤝
got the same issues, have you solved the problem?
Hi I am usimh the same concept but I am creatig a voicebot not a chatbot can you help me into this
Usimh, do you later got the voicebot integration
i don`t get reply from server side , i`m confusing where i did mistake
Hii,could u pls tell me how did u copy the details in terminal and from where?
You need to use Command + C to copy the folder. Then, type `cd` followed by a space, and use Command + V to paste the folder path. This will change your directory to the chatbot folder, allowing you to run your Python commands.
Thanks for the tutorial! Would you be able to help me troubleshoot it thought? When I upload my files to a hosting server and link it to a domain, I keep getting a 404 error everytime the /get route is trying to be accessed. Would you know why?
Is it possible to integrate llama in this?
You copied file path and written lm but it is not working in windows what should I do
Hi i was trying to run this I installed everything but everytime it is showing ModuleNotFoundError No module named flask can you please help me with that
Sometimes It can be an error with your venv. If your venv is active then try typing deactivate in the terminal. Then your gonna want to delete your virtual environment, and create and activate a new one. Sometimes that will fix it.
Inside .venu
U have to install Flask, torch,transformer
but in the html where did you copy
how can i train the model with my custom data ?
What to use instead of terminal in windows 11
command prompt
Hey there! Love the tutorial! I was wanting to know what the issue may be if my chat isn't showing up. The bot will respond to my inputs, but only the bot's responses are showing up in the chat log with none of mine appearing in it. Any tips would be greatly appreciated.
I am getting same did you resolved it
@@lonkekalpana2875 So I messed up on my end with the HTML code. I re-wrote it and my text in the chat log was fixed.
I want to train my AI for mental health of students, What should I change?
Hey have your project done?
@@ffjoker6971 yeah.. but i didn't deployed it yet
how do i make the bot smarter tho
You trian the bot based on your database
could you do a tutorial using PyNLPl
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
it's not actually server problem... make sure you keep app.py file inside the folder not outside of it.. or along with html
will this work if my data model is in chatgpt openai? which lines should i look at
Same question
It will work you need to look at the end points of the model that you will use, in our case change the function get_chat_response with your model function or change it to an api call
Please check this video
ruclips.net/video/i8wxZwkBpwo/видео.html
Could you please help me out - I am getting 500 Internal Server error. How to solve this problem?
Help I'm getting "500 internal server error"
Same problem
Did u get the solution?😢
@@apoorvas1239 its because append at 21:06
can u pls tell where to get html code
Can i use this code on my real working project
Where can i get the html code
Everything went well.... But i am getting error at the end.... After entering python app.py ....... That cannot import AutoModelForCasualLM from transformer .... Please help asap i'm having my project tomorrow
Have you done it?
@@rafi8277 no...
Error 500 occurs???
whenever i redirect,it shows following error:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
please help
Could it be because of an internet connection issue? Usually if the error does not specify where the error is or if it's hard to debug, I copy the message and ask chatGPT with a short description what could be the error. It usually tells me the possible issues.
look at 21:06
@@AdityaPatadiya-jj8yj what it in 21:06 , can you explain , getting the same error after running , in the page its showing that Internal Server Error
how do i train it for specific purpose
@@bernardasare3210 You cannot train it for a specific reason through this model you have to use models which can be trained such as OpenAI, go check my video where I integrated ChatGPT into this template
@@binaryhood which video is that please i can't seem to find it
@@bernardasare3210 ruclips.net/video/i8wxZwkBpwo/видео.htmlsi=_obutrWUOSc6vp5l
Through this you’ll be to use ChatGPT and in OpenAI create your custom GPT and link that into the app.py using your custom API Key
How to get the ouput page in windows
copy url and go to your browser and copy it and search
The ai is not giving answers for all questions
i m not getting url in vs code
plz help
Can you please reply with a screenshot on @binaryhood Instagram page with the the steps you took
@@binaryhood Thank you
You were very unlucky with the answers it provided to your questions but that's not on you and overall it was a good video. ❤
Hey I need your help...is there any way to connect you?
hey we can, i'm working same
no voice .sound less is coming
Thank you for the great tutorial. It works great. However, the Microsoft DialoGPT is really poor. How to use a different LLM model? or even ChatGPT API instead?
Please check this video
ruclips.net/video/i8wxZwkBpwo/видео.html
I don't understand the last part how to run from terminal because when I do so it gives me an error message so can you please help me...
Can you please share your error that you get when your run the python file.
Question: Have you installed the requirement.txt file, and also do you have Pip and python installed?
After installation of python app.py , I m not getting any url for server plz help
U are very zrba
write down your topics and keywords somewhere to speak more fluent ...
then it wont be boring or like scratching your voice on others ears
Hey @binaryhood I need a help, how do I integrate this GUI with my own collaborative filtering ipynb python code??It would be really helpful if you reply to this message
Bro can you generate image with it?
This is a text based Chat-bot, to generate images from a chat bot you need to explore different models. In this video I used hugging face library, they also provide text to image models too, check this out huggingface.co/models?pipeline_tag=text-to-image&sort=downloads
i did it but visual studio code it show me plus9 error
why my ai is not responed when i write hello.
same