Commit Graph

7 Commits

Author SHA1 Message Date
Vishwanath Martur
00e6ffe83c Fix offline docker container startup issue
Related to 

Modify the code to allow the docker container to start in an offline environment for versions >= 0.4.0.

* **backend/open_webui/retrieval/utils.py**
  - Import `OFFLINE_MODE` from `open_webui.env`.
  - Set `local_files_only` to `True` when `OFFLINE_MODE` is enabled in `snapshot_kwargs`.

* **backend/open_webui/env.py**
  - Add logic to set `HF_HUB_OFFLINE` environment variable to `1` when `OFFLINE_MODE` is enabled.

* **README.md**
  - Document setting `HF_HUB_OFFLINE` environment variable to `1` for offline environments.
2024-12-29 11:53:09 +05:30
Timothy Jaeryang Baek
50f36a5262 refac: styling 2024-12-19 20:56:16 -08:00
Timothy Jaeryang Baek
e500461dc0 refac 2024-12-17 18:40:50 -08:00
Timothy Jaeryang Baek
f341971eae fix 2024-12-15 23:41:17 -08:00
MooreDerek
4905c180a5
Only log file contents in debug 2024-12-16 15:58:26 +13:00
Timothy Jaeryang Baek
867c4bc0d0 wip: retrieval 2024-12-11 18:05:42 -08:00
Timothy Jaeryang Baek
d3d161f723 wip 2024-12-10 00:54:13 -08:00