Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ def create_deepseek_interface():
|
|
24 |
return "FW_API_KEY not set for LLM keyword extraction.", query
|
25 |
|
26 |
# Extract keywords using LLM (DeepSeek model)
|
27 |
-
url = "https://
|
28 |
payload = {
|
29 |
-
"model": "
|
30 |
"max_tokens": 200,
|
31 |
"temperature": 0.1, # Low temperature for consistent results
|
32 |
"messages": [
|
|
|
24 |
return "FW_API_KEY not set for LLM keyword extraction.", query
|
25 |
|
26 |
# Extract keywords using LLM (DeepSeek model)
|
27 |
+
url = "https://router.huggingface.co/novita/v3/openai/chat/completions"
|
28 |
payload = {
|
29 |
+
"model": "meta-llama/llama-4-scout-17b-16e-instruct",
|
30 |
"max_tokens": 200,
|
31 |
"temperature": 0.1, # Low temperature for consistent results
|
32 |
"messages": [
|