# Text\_input / chat\_input set text programatically

**URL:** <https://discuss.streamlit.io/t/text-input-chat-input-set-text-programatically/58447>\
**Category:** Using Streamlit\
**Created:** [December 29, 2023, 11:21pm UTC](https://discuss.streamlit.io/t/text-input-chat-input-set-text-programatically/58447 "2023-12-29T23:21:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![km1082](https://avatars.discourse-cdn.com/v4/letter/k/ea5d25/32.png) [@km1082](https://discuss.streamlit.io/u/km1082)\
**Post date:** [December 29, 2023, 11:21pm UTC](https://discuss.streamlit.io/t/text-input-chat-input-set-text-programatically/58447/1 "2023-12-29T23:21:19Z")

</div>

My app is running locally for now. Is there a way to set custom text on a text input or a chat input? Context is I am allowing users to say something on their microphones, transcribing audio to text and I want to place the transcribed text on the chat input or text input so they can interact with the app. Is this possible with text\_input or chat\_input? As you can tell, I am a newbie here but excited to learn.

---

<div class="post-metadata">

**Author:** ![ferdy](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/ferdy/32/29957_2.png) [@ferdy](https://discuss.streamlit.io/u/ferdy)\
**Post date:** [December 31, 2023, 11:33am UTC](https://discuss.streamlit.io/t/text-input-chat-input-set-text-programatically/58447/2 "2023-12-31T11:33:18Z")

</div>

Greetings and a warm welcome to our Streamlit community! We’re delighted to have you on board. To help you get the most out of your experience here, please visit our thread [Using Streamlit: How to Post a Question Effectively.](https://discuss.streamlit.io/t/how-to-post-a-question-in-the-streamlit-forum/30960) This guide is invaluable for formulating your questions in a way that’s clear and concise, ensuring prompt and insightful responses from our community of experts and enthusiasts.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [June 28, 2024, 11:34am UTC](https://discuss.streamlit.io/t/text-input-chat-input-set-text-programatically/58447/3 "2024-06-28T11:34:09Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
