Hi
I am beginner in using the streamlit module. I wanted to build an ML app using pycaret and wrote some code. But there is no output. Some one please help me.
the link to the code I wrote: https://pastebin.com/w56G4Sdh
Hi Rajesh,
according to your code: You have only defined the functions, but you’re not executing them - if I see it correctly?
Hi @Rajesh_Kumar1,
In your code, add this in the bottom:
if __name__ == '__main__':
run()
The problem was that you never called the function run(). I hope this fixes it.
Cheers !
Regards,
Amaan
yes. Thank you for the suggestion. My code works now.
Yes. I fixed it now. Thank you for the reply.