# SentencePiece - OSError In Hugging Face Spaces

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsentencepiece-oserror-in-hugging-face-spaces%2F16850%3E%5C
**Category:** Spaces\
**Created:** [April 15, 2022, 1:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsentencepiece-oserror-in-hugging-face-spaces%2F16850 "2022-04-15T01:47:48Z")\
**Posts on this page:** 1\
**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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fkurianbenoy)%5C
**Post date:** [April 15, 2022, 1:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsentencepiece-oserror-in-hugging-face-spaces%2F16850%2F1 "2022-04-15T01:47:48Z")

</div>

I have been creating a hugging face spaces with gradio. The code had been validated by running in local via colab. Yet when I run it in hugging face spaces, I get the below error. This error looks because of an issue in hugging spaces

```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)
