1
0

main.py 289 B

12345678910111213141516
  1. #!/usr/bin/env python3
  2. import frontend
  3. from fastapi import FastAPI
  4. app = FastAPI()
  5. @app.get('/')
  6. def read_root():
  7. return {'Hello': 'World'}
  8. frontend.init(app)
  9. if __name__ == '__main__':
  10. print('Please start the app with the "uvicorn" command as shown in the start.sh script')