Samarth991 commited on
Commit
e836885
·
verified ·
1 Parent(s): 2c1dd38

Update QnA.py

Browse files
Files changed (1) hide show
  1. QnA.py +1 -1
QnA.py CHANGED
@@ -66,7 +66,7 @@ def Q_A(vectorstore,question,API_KEY):
66
  if API_KEY.startswith('gsk'):
67
  os.environ["GROQ_API_KEY"] = API_KEY
68
  chat_llm = ChatGroq(model="llama3-8b-8192")
69
- elif API.startswith('hf'):
70
  chat_llm = get_hugging_face_model(API_key=API_KEY)
71
 
72
  # Create a retriever
 
66
  if API_KEY.startswith('gsk'):
67
  os.environ["GROQ_API_KEY"] = API_KEY
68
  chat_llm = ChatGroq(model="llama3-8b-8192")
69
+ elif API_KEY.startswith('hf'):
70
  chat_llm = get_hugging_face_model(API_key=API_KEY)
71
 
72
  # Create a retriever