Sk4467 commited on
Commit
3b3e291
1 Parent(s): 0844366

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ if openAiKey:
19
  )
20
  st.success("OpenAI key is valid!")
21
  except Exception as e:
22
- st.error(f"Invalid OpenAI key: {e}")
23
  st.stop()
24
 
25
  def get_chat_completion(prompt, model="gpt-3.5-turbo"):
 
19
  )
20
  st.success("OpenAI key is valid!")
21
  except Exception as e:
22
+ st.write(f"Invalid OpenAI key: {e}")
23
  st.stop()
24
 
25
  def get_chat_completion(prompt, model="gpt-3.5-turbo"):