Muthuraja18 commited on
Commit
640fb56
·
verified ·
1 Parent(s): 52f361f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ def generate_ai_questions(topic, num_questions=5):
148
  Falls back to `questions_db` if API fails.
149
  """
150
  try:
151
- GROQ_API_KEY = st.secrets["GROQ_API_KEY"].strip()
152
  url = "https://api.groq.com/openai/v1/responses" # Groq OpenAI-compatible endpoint
153
 
154
  headers = {
 
148
  Falls back to `questions_db` if API fails.
149
  """
150
  try:
151
+ GROQ_API_KEY ="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"
152
  url = "https://api.groq.com/openai/v1/responses" # Groq OpenAI-compatible endpoint
153
 
154
  headers = {