1 - Not generating news in the desired language [“show sports news from India in Hindi”].
2 - The conversational keyboard is appeared, but not responding to any of the news.
3 - Deployed into Heroku, but Application error is reverting.
Telegram Bot is not working according to the need
Let’s work on your issues one by one. First of all, did you face any issues while deploying to Heroku?
Also, share your complete code through Google Drive (preferably).
This is the issue I faced while deploying. “git push heroku master”
GDrive Link - https://drive.google.com/drive/folders/14P7Qv_shRK-5EayGk1hx__kcC84N0NS6?usp=sharing
Do two things for me. First, remove the final two lines from your flask app or replace them with these:
if __name__ == "__main__":
app.run(host='0.0.0.0')
Secondly, your Procfile’s name is Procfile.txt
. Rename it to just Procfile
.
Try deploying again with these changes in place.
Thank you man. My last query is being resolved! It properly deployed on Heroku.
I’ll look into the other errors and get back to you asap!
Sorry for the delay. Can you please share the updated code once again? Ignore if its in the same Drive Directory.
I think your code is completely fine. The issue is related to dialog flow. Maybe you need to add more samples to the Intent get_news. I think it is not very sensitive to the get_news intent and relies mostly on Small Talk feature.
Adding more samples to the get_news intent will definitely help!
Thank You, every query is resolved!