nniehaus commited on
Commit
08a7aac
·
verified ·
1 Parent(s): b0e65a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import json
12
  API_URL = "https://api.openai.com/v1/chat/completions"
13
 
14
  # Set the OpenAI API Key securely (from Hugging Face secrets)
15
- OPENAI_API_KEY = st.secrets["YOUR_OPENAI_API_KEY"]
16
 
17
  # API Call Limits (To Protect Against Abuse)
18
  MAX_REQUESTS_PER_SESSION = 3 # Maximum API calls per user session
 
12
  API_URL = "https://api.openai.com/v1/chat/completions"
13
 
14
  # Set the OpenAI API Key securely (from Hugging Face secrets)
15
+ OPENAI_API_KEY = st.secrets["OPENAI_API_KEY"]
16
 
17
  # API Call Limits (To Protect Against Abuse)
18
  MAX_REQUESTS_PER_SESSION = 3 # Maximum API calls per user session