Update main.py

make the time a float