sir result is not getting in telegram if i search for sport news,
hey @saini.harsh22 ,
you error function needs to have 3 parameters instead there are 2.
can you please share your code.
Thank You .
sir this problem is resolved but I want to ask another problem regarding this conversational bot when i type india news its not giving replying.
is it compulsory that all three parameter should be there in your statement then only it will provide news
hey @saini.harsh22 ,
That is because of the training of your dialogflow model you do .
So , try using more examples and it will work.
when i do in jupyter it gives india news
for sport news from india giving usa sport news
no its not necessary as such , but yeah its does depend on it a bit.
Because it reads parameters from it ,like location ,type etc. So , if it can get the correct parameters , then yes it will provide correct results too , else it wont
but when i do in jupyter it giving me india news
and also sport news form india but not in telegram its giving usa sports
when i type sport news from india giving usa sports
sport news from india in hindi gives india sport . This same sequences all types of news
okay , so for this i would request you to kindly share your codes , so that i can check that on my system and let you know about them.
first thing, your procfile is empty , so i dont think your app is getting deployed .
kindly look into the logs or heroku dashboard to clarify this.
-> Building on the Heroku-20 stack
-----> Python app detected
! Requested runtime () is not available for this stack (heroku-20).
! Aborting. More info: https://devcenter.heroku.com/articles/python-support
! Push rejected, failed to compile Python app.
! Push failed
sir will u please tell me the command for runtime.txt and procfile because these files are empty.
what you need to do is ,
make a virtual environment with python 3.6 and then install all the libraries again in this , now they will be installed based on python 3.6 .
After this , just run the same steps to deploy your project and then it will work.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen