Daemontatox commited on
Commit
a58b32f
·
verified ·
1 Parent(s): 5c931a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -165,15 +165,15 @@ def log_to_qdrant(question: str, answer: str):
165
 
166
 
167
  llm = ChatOpenAI(
168
- model="deepseek-ai/DeepSeek-R1",
169
  temperature=0,
170
  max_tokens=None,
171
  timeout=None,
172
  max_retries=2,
173
- #api_key=OPENAPI_KEY,# if you prefer to pass api key in directly instaed of using env vars
174
- #base_url="https://openrouter.ai/api/v1",
175
- api_key=CHUTES_KEY,
176
- base_url="https://chutes-deepseek-ai-deepseek-r1.chutes.ai/v1/chat/completions",
177
  stream=True,
178
 
179
  )
 
165
 
166
 
167
  llm = ChatOpenAI(
168
+ model="deepseek/deepseek-r1:free",
169
  temperature=0,
170
  max_tokens=None,
171
  timeout=None,
172
  max_retries=2,
173
+ api_key=OPENAPI_KEY,# if you prefer to pass api key in directly instaed of using env vars
174
+ base_url="https://openrouter.ai/api/v1",
175
+ #api_key=CHUTES_KEY,
176
+ #base_url="https://chutes-deepseek-ai-deepseek-r1.chutes.ai/v1/chat/completions",
177
  stream=True,
178
 
179
  )