mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
12 lines
346 B
Python
12 lines
346 B
Python
import tornado.ioloop
|
|
|
|
from app.ChameleonVisionApp import ChameleonApplication
|
|
from tornado.options import options
|
|
|
|
if __name__ == "__main__":
|
|
tornado.options.parse_command_line()
|
|
app = ChameleonApplication()
|
|
print(f"Serving on port {options.port}")
|
|
app.listen(options.port)
|
|
tornado.ioloop.IOLoop.current().start()
|