Spaces:
Running
Running
Update app.py
Browse files
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 =
|
| 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 = {
|