Spaces:
Running
Running
updated to perplexity new model
Browse files- helpers.py +1 -1
helpers.py
CHANGED
@@ -59,7 +59,7 @@ def query_perplexity(query):
|
|
59 |
"Authorization": f"Bearer {PERPLEXITY_API_KEY}",
|
60 |
}
|
61 |
data = {
|
62 |
-
"model": "llama-3-sonar-
|
63 |
"stream": False,
|
64 |
"max_tokens": 1024,
|
65 |
"frequency_penalty": 1,
|
|
|
59 |
"Authorization": f"Bearer {PERPLEXITY_API_KEY}",
|
60 |
}
|
61 |
data = {
|
62 |
+
"model": "llama-3.1-sonar-small-128k-online",
|
63 |
"stream": False,
|
64 |
"max_tokens": 1024,
|
65 |
"frequency_penalty": 1,
|