JiakaiDu commited on
Commit
de9204e
1 Parent(s): 5df3113

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Test_RAG.py +1 -1
Test_RAG.py CHANGED
@@ -288,7 +288,7 @@ llm = HuggingFacePipeline.from_model_id(
288
  task="text-generation",
289
  backend="openvino",
290
  model_kwargs={
291
- "device": llm_device.value,
292
  "ov_config": ov_config,
293
  "trust_remote_code": True,
294
  },
 
288
  task="text-generation",
289
  backend="openvino",
290
  model_kwargs={
291
+ "device": llm_device,
292
  "ov_config": ov_config,
293
  "trust_remote_code": True,
294
  },