Spaces:
Sleeping
Sleeping
Shreya Pal commited on
Commit ·
f7eeeee
1
Parent(s): e2c65bd
Update groq model
Browse files- server/app.py +1 -1
server/app.py
CHANGED
|
@@ -117,7 +117,7 @@ def groq_moderate(text: str, hf_scores: dict) -> dict:
|
|
| 117 |
filtered_scores = {k: round(hf_scores.get(k, 0.0), 3) for k in relevant_keys if k in hf_scores}
|
| 118 |
|
| 119 |
response = client.chat.completions.create(
|
| 120 |
-
model="
|
| 121 |
messages=[
|
| 122 |
{"role": "system", "content": """You are an expert content moderation AI.
|
| 123 |
|
|
|
|
| 117 |
filtered_scores = {k: round(hf_scores.get(k, 0.0), 3) for k in relevant_keys if k in hf_scores}
|
| 118 |
|
| 119 |
response = client.chat.completions.create(
|
| 120 |
+
model="llama-3.3-70b-versatile",
|
| 121 |
messages=[
|
| 122 |
{"role": "system", "content": """You are an expert content moderation AI.
|
| 123 |
|