# Error during running python script

**URL:** <https://discuss.huggingface.co/t/error-during-running-python-script/89698>\
**Category:** Models\
**Created:** [June 1, 2024, 3:21am UTC](https://discuss.huggingface.co/t/error-during-running-python-script/89698 "2024-06-01T03:21:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samim2024](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/samim2024/32/27659_2.png) [@samim2024](https://discuss.huggingface.co/u/samim2024)\
**Post date:** [June 1, 2024, 3:21am UTC](https://discuss.huggingface.co/t/error-during-running-python-script/89698/1 "2024-06-01T03:21:47Z")

</div>

huggingface\_hub.errors.HFValidationError: Repo id must use alphanumeric chars or ‘-’, ‘\_’, ‘.’, ‘–’ and ‘…’ are forbidden, ‘-’ and ‘.’ cannot start or end the name, max length is 96: ‘“CompVis/stable-diffusion-v1-4”’.

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [June 1, 2024, 9:58am UTC](https://discuss.huggingface.co/t/error-during-running-python-script/89698/2 "2024-06-01T09:58:40Z")

</div>

Hi,

Could you provide a code snippet to reproduce?
