Is that possible to run python code without funtion?

Hey hi guys , had a query . I have a code which converts speech into text . I just want to integrate that with UiPath . Tried small snippet of python code which is successfully executing it (Because it has function and return value) But when it comes to my code am unable to execute it (I tried to write dummy function it didn’t worked out).PS: am not expertise in python . Can some one please help on this

@Rahul_Pasupuleti @karthik_bethi @nisarg_kadam . Mentioning for helping hands :slight_smile:

First install the package ,either put it in main or function …