Deploying Flask App for Telegram

just upload it on drive , and share me the link

https://drive.google.com/drive/folders/1fCMKuWzmana8j-dOeOP85q6axZR-N7iR?usp=sharing

kindly grant the access.

@prashant_ml given now

Sir, did you figure out the problem?

hey @pgarg ,
can you let me know why are you creating a separate environment to work in ? I guess there is no need of as such.

separate environment means?
I was just following the steps in video

virtual environment was required to be created as in video

actually virtual environment is just an area /region that contains particular libraries that are to be used , as you going to host this on heroku , there the heroku itself creates an environment and download on those libraries that are reuquired by the code.
While working on windows you dont need to create a virtual env. every time, you can work normally .

so , lets start from beginning again.
open cmd and heroku dashboard in browser
in cmd , navigate to your folder that contains your files

ok starting from beg
cmd and dashboard
next

is your dashboard showing running app ? if so , then delete it.
create another directory with only the app.py file , procfile and requirements.txt

open cmd in that directory ,
run command ,

heroku create

it will provide you with a link , copy that and paste that in your webhook in app.py

after this is done , go to your dashboard , it will be showing your newly created app.
open it,
scroll down and it will show some command to be implemented.
Run and implement all of them in the same ordere.

client.txt too right?

not for now , you can use it afterwards is deployed for dialogflow .
and aslo in app.py , comment your import for utils file

now just execute in cmd

heroku ps

and let me know the output

image

hey @pgarg ,
there is an error with our procfile.
You see that output No dynos , it is because of that only

To get rid of it ,
just save your procfile without any extension . just Procfile