File size: 256 Bytes
4223796
 
 
 
 
 
1
2
3
4
5
6
7
import uvicorn

if __name__ == "__main__":
    # Importante: Mantener el ProactorEventLoopPolicy por defecto de Windows
    # porque Playwright lo requiere para crear subprocesses correctamente.
    uvicorn.run("app.main:app", host="127.0.0.1", port=8000)