MartinKosela commited on
Commit
7949790
·
1 Parent(s): f6ac9e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
 
6
  # Securely fetch the OpenAI API key
7
  #try:
8
- OPENAI_API_KEY = ('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')
9
  #except openai.APIError as e:
10
  # Log the error for debugging purposes
11
  #st.error("An error occurred while communicating with the OpenAI API.")
 
5
 
6
  # Securely fetch the OpenAI API key
7
  #try:
8
+ openai.api_key = ('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')
9
  #except openai.APIError as e:
10
  # Log the error for debugging purposes
11
  #st.error("An error occurred while communicating with the OpenAI API.")