Docfile commited on
Commit
c6b5a2f
·
verified ·
1 Parent(s): d1dc157

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -50,8 +50,7 @@ model_name = "hkunlp/instructor-xl"
50
  model_kwargs = {'device': 'cpu'}
51
  encode_kwargs = {'normalize_embeddings': True}
52
  embed_model = InstructorEmbedding(
53
- model_name=model_name,
54
- encode_kwargs=encode_kwargs
55
  )
56
 
57
  llm= LLM = G4FLLM(
 
50
  model_kwargs = {'device': 'cpu'}
51
  encode_kwargs = {'normalize_embeddings': True}
52
  embed_model = InstructorEmbedding(
53
+ model_name=model_name
 
54
  )
55
 
56
  llm= LLM = G4FLLM(