Coool2 commited on
Commit
4112379
·
1 Parent(s): 0970940

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -2
agent.py CHANGED
@@ -209,8 +209,7 @@ def initialize_models(use_api_mode=False):
209
  # Embedding model
210
  embed_model = HuggingFaceEmbedding(
211
  model_name="nomic-ai/colnomic-embed-multimodal-3b",
212
- device="cuda:1",
213
- trust_remote_code=True)
214
 
215
  return proj_llm, code_llm, embed_model
216
  except Exception as e:
 
209
  # Embedding model
210
  embed_model = HuggingFaceEmbedding(
211
  model_name="nomic-ai/colnomic-embed-multimodal-3b",
212
+ device="cuda:1")
 
213
 
214
  return proj_llm, code_llm, embed_model
215
  except Exception as e: