imgpilot
imgpilot copied to clipboard
Localization deployment questions
Excellent code engineering, cheer for contributors!
I try to build the code, after I first run lep photon run -n imgpilot -m photon/main.py --local
, the model downloaded from huggingface.
but when I cut off the proxy network, I found second run the command below, terminal show:
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/SimianLuo/LCM_Dreamshaper_v7 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f55b9d657d0>: Failed to establish a new connection: [Errno 111] Connection refused'))"),
I wonder know how can I run code without internet? that seems code still need internet reaches after model download already.
Thanks!