# Can't scroll down in Streamlit deployed with HF Space

**URL:** <https://discuss.huggingface.co/t/cant-scroll-down-in-streamlit-deployed-with-hf-space/47883>\
**Category:** Spaces\
**Created:** [July 24, 2023, 7:17am UTC](https://discuss.huggingface.co/t/cant-scroll-down-in-streamlit-deployed-with-hf-space/47883 "2023-07-24T07:17:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WinterGYC](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@WinterGYC](https://discuss.huggingface.co/u/WinterGYC)\
**Post date:** [July 24, 2023, 7:17am UTC](https://discuss.huggingface.co/t/cant-scroll-down-in-streamlit-deployed-with-hf-space/47883/1 "2023-07-24T07:17:44Z")

</div>

Hey I was playing around with HF space. Trying out Baichuan-13B-Chat model.

I had app.py setup following:

> <https://github.com/baichuan-inc/Baichuan-13B/blob/main/web_demo.py>

And had my space here:

> **[Baichuan 13B Chat Int8 - a Hugging Face Space by WinterGYC](https://huggingface.co/spaces/WinterGYC/Baichuan-13B-Chat-Int8)**
>
> Discover amazing ML apps made by the community

I had streamlit 1.24.0

However as it turns out I cannot scroll when chat history becomes long. This is very different from the local experience and also very different from the GIF demo in their GitHub.

Any ideas?

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [August 15, 2023, 7:50am UTC](https://discuss.huggingface.co/t/cant-scroll-down-in-streamlit-deployed-with-hf-space/47883/2 "2023-08-15T07:50:42Z")

</div>

cc @whitphx might have some ideas here

---

<div class="post-metadata">

**Author:** ![whitphx](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/whitphx/32/22242_2.png) [@whitphx](https://discuss.huggingface.co/u/whitphx)\
**Post date:** [August 15, 2023, 9:45am UTC](https://discuss.huggingface.co/t/cant-scroll-down-in-streamlit-deployed-with-hf-space/47883/3 "2023-08-15T09:45:42Z")

</div>

Hi @WinterGYC

Could you please try upgrading Streamlit to 1.25 or higher?  
There was a scrolling problem with 1.24 on the HF platform and it was fixed with the 1.25.0 release.

However, the problem you reported sounds different from the known issue on 1.24 which was discussed in [the post](https://github.com/huggingface/huggingface_hub/issues/1532#issuecomment-1621521648), so please let us know if it’s actually a different thing and upgrading Streamlit doesn’t solve the problem.

Thank you.
