Kr08 commited on
Commit
341746e
·
verified ·
1 Parent(s): feed7c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -23,6 +23,7 @@ def load_qa_model():
23
  model="meta-llama/Meta-Llama-3-8B-Instruct",
24
  model_kwargs={"torch_dtype": torch.bfloat16},
25
  device_map="auto",
 
26
  )
27
  return qa_pipeline
28
  except Exception as e:
 
23
  model="meta-llama/Meta-Llama-3-8B-Instruct",
24
  model_kwargs={"torch_dtype": torch.bfloat16},
25
  device_map="auto",
26
+ use_auth_token=os.getenv("HF_TOKEN")
27
  )
28
  return qa_pipeline
29
  except Exception as e: