Update main.py

modify from website