Skip to content

Commit

Permalink
Solve pylint complains
Browse files Browse the repository at this point in the history
  • Loading branch information
Maclenn77 committed Dec 9, 2023
1 parent b25b0a6 commit 43dd9f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def api_message(api_key):
"""Inform if the api key is set."""
if api_key is None:
return st.warning("Add your OpenAI API key")
else:
return st.success("Your API key is setup ")

return st.success("Your API key is setup ")


def set_api_key():
Expand Down

0 comments on commit 43dd9f1

Please sign in to comment.