Spaces:
Sleeping
Sleeping
Force Switch to DeepSeek-V3.2 (Stranger Things RAG v5)
Browse files
main.py
CHANGED
|
@@ -42,13 +42,13 @@ else:
|
|
| 42 |
if not os.getenv("HUGGINGFACEHUB_API_TOKEN"):
|
| 43 |
print("CRITICAL WARNING: HUGGINGFACEHUB_API_TOKEN not found. API calls will fail.")
|
| 44 |
|
| 45 |
-
repo_id = "
|
| 46 |
|
| 47 |
try:
|
| 48 |
print(f"Connecting to Hugging Face API ({repo_id})...")
|
| 49 |
llm = HuggingFaceEndpoint(
|
| 50 |
repo_id=repo_id,
|
| 51 |
-
task="
|
| 52 |
max_new_tokens=512,
|
| 53 |
do_sample=True,
|
| 54 |
temperature=0.7,
|
|
|
|
| 42 |
if not os.getenv("HUGGINGFACEHUB_API_TOKEN"):
|
| 43 |
print("CRITICAL WARNING: HUGGINGFACEHUB_API_TOKEN not found. API calls will fail.")
|
| 44 |
|
| 45 |
+
repo_id = "deepseek-ai/DeepSeek-V3.2"
|
| 46 |
|
| 47 |
try:
|
| 48 |
print(f"Connecting to Hugging Face API ({repo_id})...")
|
| 49 |
llm = HuggingFaceEndpoint(
|
| 50 |
repo_id=repo_id,
|
| 51 |
+
task="conversational",
|
| 52 |
max_new_tokens=512,
|
| 53 |
do_sample=True,
|
| 54 |
temperature=0.7,
|