# Model does not exist while running chat-ui through docker

**URL:** <https://discuss.huggingface.co/t/model-does-not-exist-while-running-chat-ui-through-docker/160216>\
**Category:** Beginners\
**Created:** [June 21, 2025, 7:23pm UTC](https://discuss.huggingface.co/t/model-does-not-exist-while-running-chat-ui-through-docker/160216 "2025-06-21T19:23:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raatrani](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/raatrani/32/49864_2.png) [@raatrani](https://discuss.huggingface.co/u/raatrani)\
**Post date:** [June 21, 2025, 7:23pm UTC](https://discuss.huggingface.co/t/model-does-not-exist-while-running-chat-ui-through-docker/160216/1 "2025-06-21T19:23:29Z")

</div>

Hello,

i am trying to run chat-ui via docker with mongodb  
i have cloned the repository built the image and using .env file however i feel the endpoint is throwing error.

Following is my .env:

PROVIDER=hf

# This is a JSON string

MODELS=[{“name”:“mistralai/Mixtral-8x7B-Instruct-v0.1”,“description”:“The latest MoE model from Mistral AI! 8x7B and outperforms Llama 2 70B in most benchmarks.”,“logoUrl”:“[https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png",“websiteUrl”:“https://mistral.ai/news/mixtral-of-experts/”,“modelUrl”:“https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1”,“preprompt”:“”,“chatPromptTemplate”:"](https://huggingface.co/datasets/huggingchat/models-logo/resolve/main/mistral-logo.png%22,%22websiteUrl%22:%22https://mistral.ai/news/mixtral-of-experts/%22,%22modelUrl%22:%22https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1%22,%22preprompt%22:%22%22,%22chatPromptTemplate%22:%22)~~{{#each messages}}{{#ifUser}}[INST]{{#if @first}}{{#if @root.preprompt}}{{@root.preprompt}}\n{{/if}}{{/if}} {{content}} [/INST]{{/ifUser}}{{#ifAssistant}} {{content}}~~ {{/ifAssistant}}{{/each}}”,“parameters”:{“temperature”:0.6,“top\_p”:0.95,“repetition\_penalty”:1.2,“top\_k”:50,“truncate”:1024,“max\_new\_tokens”:1024,“stop”:[“”]},“promptExamples”:[{“title”:“Write an email from bullet list”,“prompt”:“As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)”},{“title”:“Code a snake game”,“prompt”:“Code a basic snake game in python, give explanations for each step.”},{“title”:“Assist in a task”,“prompt”:“How do I make a delicious lemon cheesecake?”}],“endpoints”:[{“type”:“tgi”,“url”:“[https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1](https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1)”}]}]

API\_HEADERS={“Authorization”:“Bearer \*\*\*\*”,“Content-Type”:“application/json”}

Kindly help

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [June 22, 2025, 2:22am UTC](https://discuss.huggingface.co/t/model-does-not-exist-while-running-chat-ui-through-docker/160216/2 "2025-06-22T02:22:24Z")

</div>

The endpoint URL seems to be outdated. Try `pip install -U huggingface_hub` or so in `Dockerfile` or somewhere else inside the Docker container.
