Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With st.file_uploader and st.chat_input, first message disappears #7556

Closed
3 of 4 tasks
rhlarora84 opened this issue Oct 14, 2023 · 7 comments
Closed
3 of 4 tasks

With st.file_uploader and st.chat_input, first message disappears #7556

rhlarora84 opened this issue Oct 14, 2023 · 7 comments
Assignees
Labels
feature:st.chat_input feature:st.file_uploader priority:P1 status:confirmed Bug has been confirmed by the Streamlit team type:bug Something isn't working

Comments

@rhlarora84
Copy link

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

With the File Uploader and Chat input , any user input provided for the 1st time disapperars immediately.

Reproducible Code Example

import streamlit as st

st.set_page_config(page_title="Bug")

uploaded_files = st.sidebar.file_uploader(
    label="Upload", type=["pdf"], accept_multiple_files=True
)

st.chat_message("assistant").write("Ask me anything")

if user_query := st.chat_input(placeholder="Ask me anything!"):
    st.chat_message("user").write(user_query)

Steps To Reproduce

  1. Type anything on the Chat Input
  2. Mesage disappers
  3. Subsequent messages works

Expected Behavior

Message should not disappear

Current Behavior

No response

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.27.2
  • Python version: 3.11
  • Operating System: Windows
  • Browser: Chrome

Additional Information

No response

@rhlarora84 rhlarora84 added status:needs-triage Has not been triaged by the Streamlit team type:bug Something isn't working labels Oct 14, 2023
@github-actions
Copy link

If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.

Your feedback helps us prioritize which bugs to investigate and address first.

Visits

@anirudh-hegde
Copy link

anirudh-hegde commented Oct 18, 2023

With the File Uploader and Chat input , any user input provided for the 1st time disapperars immediately.

Import required packages

import streamlit as st
import random
import time

st.title("Simple chat")

Initialize chat history

if "messages" not in st.session_state:
st.session_state.messages = []

Display chat messages from history on app rerun

for message in st.session_state.messages:
with st.chat_message(message["role"]):
st.markdown(message["content"])

File uploader

uploaded_files = st.sidebar.file_uploader(
label="Upload", type=["pdf"], accept_multiple_files=True
)

Accept user input

if prompt := st.chat_input("What is up?"):
# Display user message in chat message container
with st.chat_message("user"):
st.markdown(prompt)
# Add user message to chat history
st.session_state.messages.append({"role": "user", "content": prompt})

image

Debug info:

  • Streamlit version: 1.27.2
  • Python version: 3.11
  • Operating System: Linux
  • Browser: Chrome

I hope this helps you.

@mzr1996
Copy link

mzr1996 commented Oct 24, 2023

Here is another example based on @Anianonymous

import time
import streamlit as st

if "messages" not in st.session_state:
    st.session_state.messages = []

# A count to record the index of dialog
if 'count' not in st.session_state:
    st.session_state.count = 0

for message in st.session_state.messages:
    with st.chat_message(message["role"]):
        st.markdown(message["content"])

uploaded_files = st.sidebar.file_uploader(
    label="Upload", type=["pdf"], accept_multiple_files=True
)

if prompt := st.chat_input("What is up?"):
# Display user message in chat message container
    with st.chat_message("user"):
        st.markdown(prompt)
    # Add user message to chat history
    st.session_state.messages.append({"role": "user", "content": prompt})
    st.session_state.count += 1

    # Sleep one second here to simulate the process of assistant.
    time.sleep(1)
    with st.chat_message('assistant'):
        assistant = f'Good at {st.session_state.count}'
        st.markdown(assistant)
    # Add assistant message to chat history
    st.session_state.messages.append({"role": "assistant", "content": assistant})

After the first user input, the reply of the assistant won't display. But after the second user input, it works correctly.
image

However, if you remove the sidebar.file_uploader, it works correctly.
image

In addition, it also works correctly if streamlit==1.25.0
image

Debug info:

  • Streamlit version: 1.27.2
  • Python version: 3.11
  • Operating System: Linux
  • Browser: Firefox

@juliareisVia
Copy link

Using streamlit 1.25, st.file_uploader threw an error: AxiosError: Request failed with status code 403.

@AnOctopus AnOctopus added status:confirmed Bug has been confirmed by the Streamlit team and removed status:needs-triage Has not been triaged by the Streamlit team labels Oct 30, 2023
@AnOctopus AnOctopus self-assigned this Oct 30, 2023
kajarenc added a commit that referenced this issue Nov 1, 2023
* Add playwright regression test for issue #7556
@vdonato
Copy link
Collaborator

vdonato commented Nov 1, 2023

Closing this issue as this was addressed by #7641. We'll have the changes released in a patch release tomorrow or Friday

@vdonato vdonato closed this as completed Nov 1, 2023
kajarenc added a commit that referenced this issue Nov 2, 2023
… file_uploader (#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears #7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns #7641 for st.camera_input
vdonato pushed a commit that referenced this issue Nov 2, 2023
… file_uploader (#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears #7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns #7641 for st.camera_input
LukasMasuch added a commit that referenced this issue Nov 13, 2023
* Build releases directly from tags instead of release branches (#7580)

* Get rid of unused release candidate workflow

* Just build releases directly from tag instead of release branch

* Get rid of unused scripts

* Add back branch check to verify that corresponding PR exists

* Docstrings for App testing (#7587)

* Make the outline for expanders appear on focus-visible and not focus (#7592)

* Add new libraries to attributions (#7599)

* Add new libraries to attributions

* Update metrics_util.py

* Up version to 1.28.0

* Fix: MPA Nav expand arrow (#7634)

Update dependency array for isOverflowing check - does not always register changes in clientHeight after initial expand & collapse. Add expanded to dependency array to ensure check of scrollHeight vs. clientHeight

* Tweak "forgot config" SnowflakeConnection error message (#7652)

* Fix app testing repr bug for `st.container` (#7644)

* Ensure file_uploader doesn't trigger needless reruns (#7641)

* Fix trigger value regression with `st.rerun` (#7643)

* Greatly narrow errors that we retry in SnowflakeConnection (#7645)

* Fix issue for st.camera_input and chat_input, add regression test for file_uploader (#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears #7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns #7641 for st.camera_input

* Up version to 1.28.1

* Add fix to enforce pyarrow version

* temp fix mypy upper bound, to avoid broken CI (#7713)

* Update version to 1.28.2

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>
Co-authored-by: Debbie Matthews <debbie.matthews@snowflake.com>
Co-authored-by: Ken McGrady <ken.mcgrady@gmail.com>
Co-authored-by: Maya Barnes <63436329+mayagbarnes@users.noreply.github.com>
Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>
@yumi-bk20
Copy link

Anyone found the solution to this problem of st.chat_input with file_uploader not displaying the first query ? the code above doesn't work.

willhuang1997 added a commit that referenced this issue Nov 28, 2023
… a key (#7760)

* Add support for timedelta type to `st.dataframe`, `st.data_editor` and `st.table`. (#7689)

* Add support for timedelta type

* Add tests

* Move timedelta to supported types

* Improve timedelta support

* Improve implementation

* Rename to convert to seconds

* Fix type util test

* Fix unit tests

* Add timedelta index

* Update notices file

* Update snapshots

* Update snapshots

* Apply review comments

* Add Python 3.12 support (#7663)

Updates Streamlit for Python 3.12 compatibility

We have a test that checks interaction with langchain (callback handler), which is not yet 3.12-compatible. These are skipped when running on 3.12.
ALL_PYTHON_VERSIONS are extended with 3.12 for our Github Actions runners
Refactor a few tests to use self.assertEqual instead of deprecated  self.assertEqualS
Bump revision of insert-licence pre-commit hook to work with Python 3.12

* Add border parameter to container and form (#7455)

* Add border parameter to container and form

* Add border parameter

* Add snapshots

* Add note to form docstring

* Add exhaustive proto stability tests (#7635)

* temp fix mypy upper bound, to avoid broken CI (#7713)

* Enforce pyarrow version for arrow-based custom components (#7695)

* Release Streamlit version 1.28.2 (#7716)

* Build releases directly from tags instead of release branches (#7580)

* Get rid of unused release candidate workflow

* Just build releases directly from tag instead of release branch

* Get rid of unused scripts

* Add back branch check to verify that corresponding PR exists

* Docstrings for App testing (#7587)

* Make the outline for expanders appear on focus-visible and not focus (#7592)

* Add new libraries to attributions (#7599)

* Add new libraries to attributions

* Update metrics_util.py

* Up version to 1.28.0

* Fix: MPA Nav expand arrow (#7634)

Update dependency array for isOverflowing check - does not always register changes in clientHeight after initial expand & collapse. Add expanded to dependency array to ensure check of scrollHeight vs. clientHeight

* Tweak "forgot config" SnowflakeConnection error message (#7652)

* Fix app testing repr bug for `st.container` (#7644)

* Ensure file_uploader doesn't trigger needless reruns (#7641)

* Fix trigger value regression with `st.rerun` (#7643)

* Greatly narrow errors that we retry in SnowflakeConnection (#7645)

* Fix issue for st.camera_input and chat_input, add regression test for file_uploader (#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears #7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns #7641 for st.camera_input

* Up version to 1.28.1

* Add fix to enforce pyarrow version

* temp fix mypy upper bound, to avoid broken CI (#7713)

* Update version to 1.28.2

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>
Co-authored-by: Debbie Matthews <debbie.matthews@snowflake.com>
Co-authored-by: Ken McGrady <ken.mcgrady@gmail.com>
Co-authored-by: Maya Barnes <63436329+mayagbarnes@users.noreply.github.com>
Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>

* Bump actions/setup-node from 3 to 4 (#7628)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump axios from 0.27.2 to 1.6.0 in /frontend (#7708)

* Bump axios from 0.27.2 to 1.6.0 in /frontend

Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.27.2...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update NOTICES

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincent Donato <vincent@streamlit.io>

* Directly use package name in setup.py (#7717)

* Directly use package name in setup.py

* Fix update name script to replace correct name

* Remove unnecessary PIL dependency in st.image docstring (#7728)

* Allow to access external server IP via https. (#7712)

Fallback to HTTPS endpoint call to check external IP if HTTP call failed.

---------

Co-authored-by: Lars Hillebrand <lars.patrick.hillebrand@iais.fraunhofer.de>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>

* Allow a service managing a Streamlit runtime to set its own session IDs (#7544)

* Move `dg_stack` into a `ContextVar` to support `with` blocks in separate threads (#7715)

* Bump actions/github-script from 6 to 7 (#7738)

Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve st.connection caching behavior (#7730)

* hack to compute connection cache function keys based on ttl, max_entries and dsn

* Fix ttl and connection name behavior for all connections and factory

* Add explanatory comments

* More explanatory comment tweaks

* Avoid adding new `.` characters to function qualnames

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>

* Pin playwright version to < 1.40 (#7747)

* Pin playwright version to < 1.40

* Add comment

* Use "loading skeletons" throughout Streamlit  (#7598)

* Implement both app-wide skeleton and suspense skeleton. Still need tests.

* Slow down the animation a little bit.

* Awww yisss. MFing tests.

* Address comments

* Make skeleton look nicer in sidebar

* Make DeckGlJsonChart withMapboxToken use Skeleton instead of "Loading..."

* Lint

* Fix assignment to const

* Add test for mapbox skeleton

* Make skeleton color overridable with postMessage

* Make a couple more e2e tests use AppSkeleton rather than "Please wait..."

* Make e2e tests not depend on skeletons. Instead, use new data-teststate attribute.

* Add query params for: no loading screen; old "Please wait" loading screen

* Fix AppNode test elements.alert check

* Lint

* Fix tests by creating a test-only "initial" state

* Fix e2e bug. "should not exist" -> "should exist"

* Pin playwright version to < 1.40 (#7747)

* Pin playwright version to < 1.40

* Add comment

* Add skeleton_background_color to NewSession.proto

* Fix arguments to cypress, whenever we call it manually.

* Add ability to pass function to matchThemedSnapshots()

* Ooops, remove Cypress upgrade code that was accidentally committed.

---------

Co-authored-by: Lukas Masuch <Lukas.Masuch@gmail.com>

* Migrate `st.button` e2e test to playwright (#7755)

* Add wait time

* Migrate button test to playwright

* Add snapshots

* Replace deprecated `find_executable` from `distutils.spawn` with recommended `which` from `shutil` (#7756)

Replace deprecated find_executable from distutils.spawn with recommended which from shutil
PEP: https://peps.python.org/pep-0632/

* add app_heartbeat BackMsg type and send it when receiving SEND_APP_HEARTBEAT window message (#7682)

* Remove outdated snapshots (#7758)

* Update docstrings for release 1.29 (#7759)

* Style tweaks for connections docstrings

* Add border to container example

* Update data_editor docsring for timedelta addition

* Fix link format

* Clarify data_editor note re: timedelta

* Add ability to set query param key to tuple or set, but not dictionary

* Fix minor typo in server.scriptHealthCheckEnabled help (#7762)

* fix: component dev url typo (#7746)

* Don't use hash on floats in hashing.py (#7754)

* Don't use hash on floats

Python's hash is salted with a random number. This will not work across restarts. Instead, use struct.pack to get the bytes of a float.

* Run autoformatter

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>

* Fix another url typo (#7764)

* Fix typing issues with altair (#7769)

* Fix typing issues with altair

* Fix mypy issues

* Fix mypy issues

* Remove altair from test dependencies

* Address comments

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Lukas Masuch <Lukas.Masuch@gmail.com>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>
Co-authored-by: Vincent Donato <vincent@streamlit.io>
Co-authored-by: Debbie Matthews <debbie.matthews@snowflake.com>
Co-authored-by: Ken McGrady <ken.mcgrady@gmail.com>
Co-authored-by: Maya Barnes <63436329+mayagbarnes@users.noreply.github.com>
Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Snehan Kekre <snehan.minerva@gmail.com>
Co-authored-by: Lars Hillebrand <37187985+LarsHill@users.noreply.github.com>
Co-authored-by: Lars Hillebrand <lars.patrick.hillebrand@iais.fraunhofer.de>
Co-authored-by: eric-skydio <eric@skydio.com>
Co-authored-by: Thiago Teixeira <103002884+sfc-gh-tteixeira@users.noreply.github.com>
Co-authored-by: Pat Finnigan <pat.finnigan@snowflake.com>
Co-authored-by: Samuel Dion-Girardeau <samueldg@users.noreply.github.com>
Co-authored-by: Observed Observer <270001151@qq.com>
Co-authored-by: Andreas Kirsch <blackhc@gmail.com>
@muneem50
Copy link

muneem50 commented Dec 3, 2023

how to do the same for audio? just like accepting user input as text and how to accept it as audio.

eric-skydio pushed a commit to eric-skydio/streamlit that referenced this issue Dec 20, 2023
… file_uploader (streamlit#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears streamlit#7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns streamlit#7641 for st.camera_input
eric-skydio pushed a commit to eric-skydio/streamlit that referenced this issue Dec 20, 2023
* Build releases directly from tags instead of release branches (streamlit#7580)

* Get rid of unused release candidate workflow

* Just build releases directly from tag instead of release branch

* Get rid of unused scripts

* Add back branch check to verify that corresponding PR exists

* Docstrings for App testing (streamlit#7587)

* Make the outline for expanders appear on focus-visible and not focus (streamlit#7592)

* Add new libraries to attributions (streamlit#7599)

* Add new libraries to attributions

* Update metrics_util.py

* Up version to 1.28.0

* Fix: MPA Nav expand arrow (streamlit#7634)

Update dependency array for isOverflowing check - does not always register changes in clientHeight after initial expand & collapse. Add expanded to dependency array to ensure check of scrollHeight vs. clientHeight

* Tweak "forgot config" SnowflakeConnection error message (streamlit#7652)

* Fix app testing repr bug for `st.container` (streamlit#7644)

* Ensure file_uploader doesn't trigger needless reruns (streamlit#7641)

* Fix trigger value regression with `st.rerun` (streamlit#7643)

* Greatly narrow errors that we retry in SnowflakeConnection (streamlit#7645)

* Fix issue for st.camera_input and chat_input, add regression test for file_uploader (streamlit#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears streamlit#7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns streamlit#7641 for st.camera_input

* Up version to 1.28.1

* Add fix to enforce pyarrow version

* temp fix mypy upper bound, to avoid broken CI (streamlit#7713)

* Update version to 1.28.2

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>
Co-authored-by: Debbie Matthews <debbie.matthews@snowflake.com>
Co-authored-by: Ken McGrady <ken.mcgrady@gmail.com>
Co-authored-by: Maya Barnes <63436329+mayagbarnes@users.noreply.github.com>
Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>
zyxue pushed a commit to zyxue/streamlit that referenced this issue Mar 22, 2024
… file_uploader (streamlit#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears streamlit#7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns streamlit#7641 for st.camera_input
zyxue pushed a commit to zyxue/streamlit that referenced this issue Mar 22, 2024
* Build releases directly from tags instead of release branches (streamlit#7580)

* Get rid of unused release candidate workflow

* Just build releases directly from tag instead of release branch

* Get rid of unused scripts

* Add back branch check to verify that corresponding PR exists

* Docstrings for App testing (streamlit#7587)

* Make the outline for expanders appear on focus-visible and not focus (streamlit#7592)

* Add new libraries to attributions (streamlit#7599)

* Add new libraries to attributions

* Update metrics_util.py

* Up version to 1.28.0

* Fix: MPA Nav expand arrow (streamlit#7634)

Update dependency array for isOverflowing check - does not always register changes in clientHeight after initial expand & collapse. Add expanded to dependency array to ensure check of scrollHeight vs. clientHeight

* Tweak "forgot config" SnowflakeConnection error message (streamlit#7652)

* Fix app testing repr bug for `st.container` (streamlit#7644)

* Ensure file_uploader doesn't trigger needless reruns (streamlit#7641)

* Fix trigger value regression with `st.rerun` (streamlit#7643)

* Greatly narrow errors that we retry in SnowflakeConnection (streamlit#7645)

* Fix issue for st.camera_input and chat_input, add regression test for file_uploader (streamlit#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears streamlit#7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns streamlit#7641 for st.camera_input

* Up version to 1.28.1

* Add fix to enforce pyarrow version

* temp fix mypy upper bound, to avoid broken CI (streamlit#7713)

* Update version to 1.28.2

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>
Co-authored-by: Debbie Matthews <debbie.matthews@snowflake.com>
Co-authored-by: Ken McGrady <ken.mcgrady@gmail.com>
Co-authored-by: Maya Barnes <63436329+mayagbarnes@users.noreply.github.com>
Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>
zyxue pushed a commit to zyxue/streamlit that referenced this issue Apr 16, 2024
… file_uploader (streamlit#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears streamlit#7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns streamlit#7641 for st.camera_input
zyxue pushed a commit to zyxue/streamlit that referenced this issue Apr 16, 2024
* Build releases directly from tags instead of release branches (streamlit#7580)

* Get rid of unused release candidate workflow

* Just build releases directly from tag instead of release branch

* Get rid of unused scripts

* Add back branch check to verify that corresponding PR exists

* Docstrings for App testing (streamlit#7587)

* Make the outline for expanders appear on focus-visible and not focus (streamlit#7592)

* Add new libraries to attributions (streamlit#7599)

* Add new libraries to attributions

* Update metrics_util.py

* Up version to 1.28.0

* Fix: MPA Nav expand arrow (streamlit#7634)

Update dependency array for isOverflowing check - does not always register changes in clientHeight after initial expand & collapse. Add expanded to dependency array to ensure check of scrollHeight vs. clientHeight

* Tweak "forgot config" SnowflakeConnection error message (streamlit#7652)

* Fix app testing repr bug for `st.container` (streamlit#7644)

* Ensure file_uploader doesn't trigger needless reruns (streamlit#7641)

* Fix trigger value regression with `st.rerun` (streamlit#7643)

* Greatly narrow errors that we retry in SnowflakeConnection (streamlit#7645)

* Fix issue for st.camera_input and chat_input, add regression test for file_uploader (streamlit#7646)

Add playwright regression test for issue With st.file_uploader and st.chat_input, first message disappears streamlit#7556
Replicate changes from Ensure file_uploader doesn't trigger needless reruns streamlit#7641 for st.camera_input

* Up version to 1.28.1

* Add fix to enforce pyarrow version

* temp fix mypy upper bound, to avoid broken CI (streamlit#7713)

* Update version to 1.28.2

---------

Co-authored-by: Vincent Donato <vincent@streamlit.io>
Co-authored-by: Debbie Matthews <debbie.matthews@snowflake.com>
Co-authored-by: Ken McGrady <ken.mcgrady@gmail.com>
Co-authored-by: Maya Barnes <63436329+mayagbarnes@users.noreply.github.com>
Co-authored-by: Amanda Walker <amanda@amandawalker.io>
Co-authored-by: Karen Javadyan <kajarenc@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:st.chat_input feature:st.file_uploader priority:P1 status:confirmed Bug has been confirmed by the Streamlit team type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants