krishnaik06 / Complete-Langchain-Tutorials

GNU General Public License v2.0
351 stars 289 forks source link

Error while deploying the Blog Generation application to Hugging Face #8

Open mrunankpawar opened 9 months ago

mrunankpawar commented 9 months ago

As we were running the model in our local, so we provided the path of llama model that we downloaded, but while deploying it on Hugging Face how can we actually get it done?

Can anyone please help?

Added screenshot of the error below. 👇

Screenshot 2024-01-25 at 8 27 19 AM
dame-cell commented 8 months ago

This happens because Llama is a gated repo as in you need to login to hugging face first which requires a huggingface account.

mrunankpawar commented 8 months ago

Yes, I understood that thing. I have gained access but I was wondering that how can we deploy it?

250519 commented 4 months ago

You can upload the llama model file in files of your respective space and also change the directory path in the app.py file too, it would run perfect!