Sk4467 commited on
Commit
570dd05
·
1 Parent(s): a13be87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ openAiKey = st.text_input(label="Input the openai key", type="password")
8
  # openai.api_key = openAiKey
9
 
10
  try:
11
- openai.api_key = openaiKey
12
  st.success("OpenAI key is valid!")
13
  except Exception as e:
14
  st.error(f"Invalid OpenAI key: {e}")
 
8
  # openai.api_key = openAiKey
9
 
10
  try:
11
+ openai.api_key = openAiKey
12
  st.success("OpenAI key is valid!")
13
  except Exception as e:
14
  st.error(f"Invalid OpenAI key: {e}")