# Chat-ui with model from hub

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchat-ui-with-model-from-hub%2F97764%3E%5C
**Category:** Beginners\
**Created:** [July 16, 2024, 6:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchat-ui-with-model-from-hub%2F97764 "2024-07-16T18:48:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsolie](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bsolie](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbsolie)%5C
**Post date:** [July 16, 2024, 6:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchat-ui-with-model-from-hub%2F97764%2F1 "2024-07-16T18:48:04Z")

</div>

I am trying to use my own fine-tuned model as a backend to chat-ui. I have tried plugging the model in the .env.local file, and I get a 500 from the server.

The only error the server throws in the log is

> 285f3b81efde02dc8b22928f0e038f7d51e7bf4822df3e2769643589b931"},“url”:“[http://52.23.214.221:4173/",“params”:{},“request”:{},“error”:{“lineNumber”:9,“columnNumber”:0},“errorId”:"9b59bbe2-16ab-49cc-9604-146233915f57](http://52.23.214.221:4173/%22,%22params%22:%7B%7D,%22request%22:%7B%7D,%22error%22:%7B%22lineNumber%22:9,%22columnNumber%22:0%7D,%22errorId%22:%229b59bbe2-16ab-49cc-9604-146233915f57)”}

Which is not super-helpful. Is this just something that can’t be done? Docs seem to indicate it is possible by plugging in the model specs in .env.local, but that is not working for me.

Any thoughts or guidance welcome. If I can provide any add’l info, please advise.

When I use the default mistral model all is fine.
