# 401 Client Error "https://huggingface.co/api/models/gemma2/revision/main."

**URL:** <https://discuss.huggingface.co/t/401-client-error-https-huggingface-co-api-models-gemma2-revision-main/115596>\
**Category:** Beginners\
**Created:** [November 4, 2024, 8:44am UTC](https://discuss.huggingface.co/t/401-client-error-https-huggingface-co-api-models-gemma2-revision-main/115596 "2024-11-04T08:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChatBotBeginner](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@ChatBotBeginner](https://discuss.huggingface.co/u/ChatBotBeginner)\
**Post date:** [November 4, 2024, 8:44am UTC](https://discuss.huggingface.co/t/401-client-error-https-huggingface-co-api-models-gemma2-revision-main/115596/1 "2024-11-04T08:44:35Z")

</div>

[Build and Run a Medical Chatbot using Llama 2 on CPU Machine: All Open Source](https://www.youtube.com/watch?v=kXuHxI5ZcG0)  
I was following this tutorial to train a chatbot with txt or pdf file. I follow his code but when open it with chainlit, it has this bug.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/b/dbffc5310f2b67e67896dc981efb35a91d5ff99d.png)  
I downloaded both gemma2 and llama-2-7b model. Test them both and none of them work. Can someone help me please?

---

<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:** [November 4, 2024, 9:24am UTC](https://discuss.huggingface.co/t/401-client-error-https-huggingface-co-api-models-gemma2-revision-main/115596/2 "2024-11-04T09:24:06Z")

</div>

The model must be specified in notation such as **google/gemma-2-9b**. The author name appears to be missing.
