Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
# ==== CONFIG ====
|
| 7 |
GROQ_API_KEY = os.getenv("GROQ_API_KEY") # Set this in Hugging Face secrets
|
| 8 |
GROQ_API_URL = "https://api.groq.com/openai/v1/chat/completions"
|
| 9 |
-
GROQ_MODEL = "
|
| 10 |
|
| 11 |
# === Dummy topic generator ===
|
| 12 |
def generate_trending_topics(niche):
|
|
|
|
| 6 |
# ==== CONFIG ====
|
| 7 |
GROQ_API_KEY = os.getenv("GROQ_API_KEY") # Set this in Hugging Face secrets
|
| 8 |
GROQ_API_URL = "https://api.groq.com/openai/v1/chat/completions"
|
| 9 |
+
GROQ_MODEL = "llama3-8b-8192" # Or use llama3-70b-8192
|
| 10 |
|
| 11 |
# === Dummy topic generator ===
|
| 12 |
def generate_trending_topics(niche):
|