greatIdea commited on
Commit
3bd7313
·
1 Parent(s): e8751d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -24,8 +24,10 @@ Question: {question}
24
  Answer:"""
25
  prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
26
 
27
- llm = LlamaCpp(model_path='quinto.bin')
28
- embeddings = LlamaCppEmbeddings(model_path='quinto.bin')
 
 
29
  llm_chain = LLMChain(llm=llm, prompt=prompt)
30
  new_db = Chroma(embedding_function=embeddings)
31
 
 
24
  Answer:"""
25
  prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
26
 
27
+
28
+ model='quarto.bin'
29
+ llm = LlamaCpp(model_path=model)
30
+ embeddings = LlamaCppEmbeddings(model_path=model)
31
  llm_chain = LLMChain(llm=llm, prompt=prompt)
32
  new_db = Chroma(embedding_function=embeddings)
33