diff --git a/computer-use-demo/computer_use_demo/streamlit.py b/computer-use-demo/computer_use_demo/streamlit.py index 6750029c..89844795 100644 --- a/computer-use-demo/computer_use_demo/streamlit.py +++ b/computer-use-demo/computer_use_demo/streamlit.py @@ -224,7 +224,7 @@ def _reset_api_provider(): tab=http_logs, response_state=st.session_state.responses, ), - api_key=st.session_state.api_key, + api_key=st.session_state.api_key.strip(), only_n_most_recent_images=st.session_state.only_n_most_recent_images, )