Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,7 @@ from gtts import gTTS
|
|
| 6 |
import tempfile
|
| 7 |
|
| 8 |
# Load Groq API key from Hugging Face secrets
|
| 9 |
-
GROQ_API_KEY =
|
| 10 |
-
if not GROQ_API_KEY:
|
| 11 |
-
raise ValueError("β Missing GROQ_API_KEY. Please set it in Hugging Face β Settings β Secrets")
|
| 12 |
|
| 13 |
client = Groq(api_key=GROQ_API_KEY)
|
| 14 |
|
|
|
|
| 6 |
import tempfile
|
| 7 |
|
| 8 |
# Load Groq API key from Hugging Face secrets
|
| 9 |
+
GROQ_API_KEY = "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"
|
|
|
|
|
|
|
| 10 |
|
| 11 |
client = Groq(api_key=GROQ_API_KEY)
|
| 12 |
|