eliasangels commited on
Commit
1d97bf9
·
verified ·
1 Parent(s): a01874e

adding direct token reference

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def getTopChunks(query, chunkEmbeddings, textChunks):
30
  # cleanedChunks = preprocessText(finlitText)
31
  # chunkEmbeddings = createEmbeddings(cleanedChunks)
32
 
33
- client = InferenceClient("deepseek-ai/DeepSeek-R1")
34
 
35
  def respond(message, history):
36
  messages = [{"role": "system",
 
30
  # cleanedChunks = preprocessText(finlitText)
31
  # chunkEmbeddings = createEmbeddings(cleanedChunks)
32
 
33
+ client = InferenceClient("deepseek-ai/DeepSeek-R1", token = os.environ.get("SF_TOKEN"))
34
 
35
  def respond(message, history):
36
  messages = [{"role": "system",