Skip to content

Commit

Permalink
hide spinner when validating api key
Browse files Browse the repository at this point in the history
  • Loading branch information
mmz-001 committed Jul 5, 2023
1 parent f94f555 commit f82314b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knowledge_gpt/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def is_file_valid(file: File) -> bool:
return True


@st.cache_data()
@st.cache_data(show_spinner=False)
def is_open_ai_key_valid(openai_api_key) -> bool:
if not openai_api_key:
st.error("Please enter your OpenAI API key in the sidebar!")
Expand Down

0 comments on commit f82314b

Please sign in to comment.