Schedule and Http events in same yml file

Hy Everyone !
I have a service which contains serverless.yml file like the one shown below.

I have a function with event “http” and another function “cronFunc” with “schedule” event. How do I run this independently. currently I am unable to run them in single file but when I remove one of the functions, it works fine.

Check your indentations under -http:

Hey! Thank you for your response. I corrected the indentation but I am still unable to run it. Have a look at the screenshot