ali121300 commited on
Commit
dda70e9
1 Parent(s): d003233

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def get_vectorstore(texts):
28
  return db
29
  ############################################################################################
30
  def get_chain(db):
31
- llm=ChatOpenAI(base_url="https://bd4c-85-9-86-142.ngrok-free.app/v1", api_key="lm-studio",temperature=0.1,model="lmstudio-community/Meta-Llama-3-8B-Instruct-GGUF")
32
  #Build a chain
33
  qa_chain = ConversationalRetrievalChain.from_llm(
34
  llm,db.as_retriever (search_kwargs={'k':2}),return_source_documents=True)
 
28
  return db
29
  ############################################################################################
30
  def get_chain(db):
31
+ llm=ChatOpenAI(base_url="https://0cc8-46-148-43-9.ngrok-free.app/v1", api_key="lm-studio",temperature=0.1,model="lmstudio-community/Meta-Llama-3-8B-Instruct-GGUF")
32
  #Build a chain
33
  qa_chain = ConversationalRetrievalChain.from_llm(
34
  llm,db.as_retriever (search_kwargs={'k':2}),return_source_documents=True)