gizemsarsinlar commited on
Commit
e9b6176
·
verified ·
1 Parent(s): 05d6a48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,10 +22,10 @@ from langchain_community.document_transformers import LongContextReorder
22
 
23
  import os
24
 
25
- api_key = os.getenv("NVIDIA_API_KEY")
26
 
27
  # NVIDIAEmbeddings.get_available_models()
28
- embedder = NVIDIAEmbeddings(model="nvidia/embed-qa-4", api_key=api_key, truncate="END")
29
  # ChatNVIDIA.get_available_models()
30
  instruct_llm = ChatNVIDIA(model="mistralai/mixtral-8x7b-instruct-v0.1")
31
 
 
22
 
23
  import os
24
 
25
+ api_key = "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"
26
 
27
  # NVIDIAEmbeddings.get_available_models()
28
+ embedder = NVIDIAEmbeddings(model="nvidia/embed-qa-4", api_key=api_key, truncate="NONE")
29
  # ChatNVIDIA.get_available_models()
30
  instruct_llm = ChatNVIDIA(model="mistralai/mixtral-8x7b-instruct-v0.1")
31