# Streamlit app issue, run time error ,no issues with the code

**URL:** <https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763>\
**Category:** 🤗Hub\
**Created:** [June 10, 2025, 12:16pm UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763 "2025-06-10T12:16:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MohanKrishna793](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@MohanKrishna793](https://discuss.huggingface.co/u/MohanKrishna793)\
**Post date:** [June 10, 2025, 12:16pm UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/1 "2025-06-10T12:16:57Z")

</div>

: “Streamlit file\_uploader always fails with 403 AxiosError, Space is running on CPU Basic, correct Dockerfile, EXPOSE 7860, ENTRYPOINT correct, no custom JS.”

---

<div class="post-metadata">

**Author:** ![Mdrnfox](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mdrnfox/32/47695_2.png) [@Mdrnfox](https://discuss.huggingface.co/u/Mdrnfox)\
**Post date:** [June 10, 2025, 2:05pm UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/2 "2025-06-10T14:05:07Z")

</div>

Has the space deployed and have been set to streamlit?

Check the Dockerfile to confirm the setup as well.

---

<div class="post-metadata">

**Author:** ![MohanKrishna793](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@MohanKrishna793](https://discuss.huggingface.co/u/MohanKrishna793)\
**Post date:** [June 10, 2025, 2:16pm UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/3 "2025-06-10T14:16:32Z")

</div>

The space deployed and sdk is set docker and then streamlit template is selected

---

<div class="post-metadata">

**Author:** ![MohanKrishna793](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@MohanKrishna793](https://discuss.huggingface.co/u/MohanKrishna793)\
**Post date:** [June 10, 2025, 2:17pm UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/4 "2025-06-10T14:17:59Z")

</div>

I have used git hub copilot to resolve the errors it is giving since morning ,and it is telling that there is no mistake in the code as well as the docker file

---

<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:** [June 10, 2025, 4:12pm UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/5 "2025-06-10T16:12:07Z")

</div>

Perhaps due to bug or spec change of `streamlit` space on Hugging Face.

> [@Programmatically create streamlit space](https://discuss.huggingface.co/t/programmatically-create-streamlit-space/157848):
>
> Hello, After the recent update made by the hugging face on the space creation, i can’t able to create streamlit space using python code programmatically. Before update, i used to create a repo space using the below code create\_repo("RentalPricePredictionBackend", repo\_type="space", space\_sdk="streamlit", private=False ) But now this code is not working, and there is no documentation or any article on this update made by hugging face - pls help me how to crea…

---

<div class="post-metadata">

**Author:** ![MohanKrishna793](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@MohanKrishna793](https://discuss.huggingface.co/u/MohanKrishna793)\
**Post date:** [June 11, 2025, 1:55am UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/6 "2025-06-11T01:55:01Z")

</div>

What is the solution for this now

---

<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:** [June 11, 2025, 2:21am UTC](https://discuss.huggingface.co/t/streamlit-app-issue-run-time-error-no-issues-with-the-code/158763/7 "2025-06-11T02:21:56Z")

</div>

Maybe not available yet. As a workaround, there is a method proposed by Mdrnfox to deploy as Docker.

> **[huggingface/hub-docs](https://github.com/huggingface/hub-docs/issues)**
>
> Docs of the Hugging Face Hub. Contribute to huggingface/hub-docs development by creating an account on GitHub.

> **[Issues · streamlit/streamlit](https://github.com/streamlit/streamlit/issues)**
>
> Streamlit — A faster way to build and share data apps. - Issues · streamlit/streamlit
