facebookresearch / nougat

Implementation of Nougat Neural Optical Understanding for Academic Documents
https://facebookresearch.github.io/nougat/
MIT License
8.81k stars 561 forks source link

configurable host for nougat_api #99

Open Yashar78 opened 1 year ago

Yashar78 commented 1 year ago

I need to run the api version inside a docker container and call from another node in a local network. In the app.py I need to set the host in the code uvicorn.run("app:app", port=8503, host="0.0.0.0"), but could the host and port be parameters of the nougat_api instead ?

perryzjc commented 3 months ago

Same question. Could we have updates on this?