# SentencePiece - OSError

**URL:** <https://discuss.huggingface.co/t/sentencepiece-oserror/16669>\
**Category:** 🔒 Gradio\
**Created:** [April 10, 2022, 6:16pm UTC](https://discuss.huggingface.co/t/sentencepiece-oserror/16669 "2022-04-10T18:16:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurianbenoy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kurianbenoy/32/42944_2.png) [@kurianbenoy](https://discuss.huggingface.co/u/kurianbenoy)\
**Post date:** [April 10, 2022, 6:16pm UTC](https://discuss.huggingface.co/t/sentencepiece-oserror/16669/1 "2022-04-10T18:16:29Z")

</div>

I have been creating a hugging face spaces with gradio, with the correct code being validated in colab. Yet when I am running in hugging face spaces, I am getting the below error, which I assume is due to gradio

```auto
OSError: Not found: "/root/.cache/huggingface/transformers/9c7933a8cb164e6207557926768a9a265d1bd79d39f5356e412c6abbe425b649.3b0201e0c6666c1f97cb872a091dba1baec985f9f13044c690a95a8af2f48ae6": Permission denied Error #13

```

The full error log can be found [here](https://gist.github.com/kurianbenoy/272f907c58c98fe5987d7d4dda622aed). My spaces, and the associate code can also be found in the links below:

[Code](https://huggingface.co/spaces/kurianbenoy/KDE_Finetuned_translation/blob/main/app.py)

---

<div class="post-metadata">

**Author:** ![abidlabs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abidlabs/32/21878_2.png) [@abidlabs](https://discuss.huggingface.co/u/abidlabs)\
**Post date:** [April 14, 2022, 2:10pm UTC](https://discuss.huggingface.co/t/sentencepiece-oserror/16669/2 "2022-04-14T14:10:53Z")

</div>

Hi @kurianbenoy, thanks for creating this issue. This doesn’t seem to be related to Gradio, but rather to the inability to access the downloaded Transformers model in the Spaces system.

Can you try asking this question here: [Latest Spaces topics - Hugging Face Forums](https://discuss.huggingface.co/c/spaces/24)

---

<div class="post-metadata">

**Author:** ![kurianbenoy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/kurianbenoy/32/42944_2.png) [@kurianbenoy](https://discuss.huggingface.co/u/kurianbenoy)\
**Post date:** [April 15, 2022, 1:41am UTC](https://discuss.huggingface.co/t/sentencepiece-oserror/16669/3 "2022-04-15T01:41:58Z")

</div>

Thanks for clarifying @abidlabs . I will ask the question in spaces topics
