# Streamlit Space Stuck on "Building"

**URL:** <https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131>\
**Category:** Spaces\
**Created:** [January 21, 2023, 9:35pm UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131 "2023-01-21T21:35:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabrielaltay](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gabrielaltay/32/24147_2.png) [@gabrielaltay](https://discuss.huggingface.co/u/gabrielaltay)\
**Post date:** [January 21, 2023, 9:35pm UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/1 "2023-01-21T21:35:04Z")

</div>

Hello. I’m working on a space to show dataset statistics for the BigBIO working group ([bigbio (BigScience Biomedical Datasets)](https://huggingface.co/bigbio)).

I’ve tested the code locally and on the streamlit cloud and both run without problems.

- [GitHub - galtay/test\_bigbio\_st](https://github.com/galtay/test_bigbio_st)
- [https://galtay-test-bigbio-st-app-g4g3dq.streamlit.app/](https://galtay-test-bigbio-st-app-g4g3dq.streamlit.app/)

However, the HF spaces version ([Bbtest - a Hugging Face Space by gabrielaltay](https://huggingface.co/spaces/gabrielaltay/bbtest)) appears to reach the end of the build process,

```auto
#10000 ===== Application Startup at 2023-01-21 21:24:56 =====

2023-01-21 22:25:33.987 INFO matplotlib.font_manager: generated new fontManager

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

2023-01-21 22:25:55.575 Did not auto detect external IP.
Please go to https://docs.streamlit.io/ for debugging hints.

  You can now view your Streamlit app in your browser.

  Network URL: http://10.19.19.179:8501

```

but the space is stuck in a state of “Building”. I’ve tried factory reset a few times but get the same results. there is something I’d like to check but cant w/o access to the host machine,

- I put `git+https://github.com/bigscience-workshop/biomedical.git` in the `requirements.txt` file to have access to the `bigbio` Python package. There are some dataloading scripts that are treated as data there ([biomedical/setup.cfg at main · bigscience-workshop/biomedical · GitHub](https://github.com/bigscience-workshop/biomedical/blob/main/setup.cfg#L18)) … I’m curious to know if those dataloading scripts are actually making there way to the pip installation (I can see them locally in the `site_packages` directory and they must be there in the streamlit cloud for it to work, but maybe the way the HF space pip installs is different?)

In addition

- I have some print statements in the early part of the `app.py` file that I don’t see in the hugging face spaces log, I’ll turn these into real logging statements and see if that helps.
- I pinned `streamlit==1.17.0` in requirements, but I’ve tried with and w/o this with the same results.

Any debugging ideas appreciated!

---

<div class="post-metadata">

**Author:** ![alexbleakley](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@alexbleakley](https://discuss.huggingface.co/u/alexbleakley)\
**Post date:** [January 21, 2023, 11:18pm UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/3 "2023-01-21T23:18:23Z")

</div>

I’m also seeing my streamlit spaces stuck in “building”. I tried a simple hello-world example, and I tried restarting, factory resetting, and creating a new space without success.

> **[Streamlit Hello World - a Hugging Face Space by alexbleakley](https://huggingface.co/spaces/alexbleakley/streamlit-hello-world)**
>
> Discover amazing ML apps made by the community

> **[Streamlit Hello World 2 - a Hugging Face Space by alexbleakley](https://huggingface.co/spaces/alexbleakley/streamlit-hello-world-2)**
>
> Discover amazing ML apps made by the community

---

<div class="post-metadata">

**Author:** ![svjack](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/svjack/32/21324_2.png) [@svjack](https://discuss.huggingface.co/u/svjack)\
**Post date:** [January 23, 2023, 3:31am UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/4 "2023-01-23T03:31:31Z")

</div>

I suffer this problem too

---

<div class="post-metadata">

**Author:** ![radames](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/radames/32/28246_2.png) [@radames](https://discuss.huggingface.co/u/radames)\
**Post date:** [January 23, 2023, 7:29pm UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/5 "2023-01-23T19:29:43Z")

</div>

hi all, were experiencing some infra outages this weekend

[https://discuss.huggingface.co/t/building-in-spaces-is-not-currently-working-where-to-find-info/30133/2?u=radames](https://discuss.huggingface.co/t/building-in-spaces-is-not-currently-working-where-to-find-info/30133/2)

---

<div class="post-metadata">

**Author:** ![gabrielaltay](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/gabrielaltay/32/24147_2.png) [@gabrielaltay](https://discuss.huggingface.co/u/gabrielaltay)\
**Post date:** [January 24, 2023, 4:26pm UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/6 "2023-01-24T16:26:21Z")

</div>

sorry to hear that! thanks for the heads up. fwiw, the space is building now.

---

<div class="post-metadata">

**Author:** ![mdagostino](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mdagostino](https://discuss.huggingface.co/u/mdagostino)\
**Post date:** [March 5, 2023, 7:01pm UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/7 "2023-03-05T19:01:55Z")

</div>

I’m encountering this as well today with a streamlit app, even after a factory reset. Logs show that streamlit is running but the app just says “Building”. Don’t see an infra problems on the HF status page. Any ideas?

---

<div class="post-metadata">

**Author:** ![faizhalas](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/faizhalas/32/21372_2.png) [@faizhalas](https://discuss.huggingface.co/u/faizhalas)\
**Post date:** [November 27, 2023, 3:54am UTC](https://discuss.huggingface.co/t/streamlit-space-stuck-on-building/30131/8 "2023-11-27T03:54:31Z")

</div>

Is there any infra outages this week? I get the same issue
