thedamn commited on
Commit
7ce8d82
·
1 Parent(s): 539199b
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,11 +13,12 @@ Question: {question}
13
 
14
  Answer:"""
15
 
 
16
 
17
  prompt = PromptTemplate(template=template, input_variables=["question"])
18
  from langchain.llms import GPT4All
19
  llm = GPT4All(
20
- model='ggml-gpt4all-j-v1.3-groovy.bin',
21
  callbacks=[StreamingStdOutCallbackHandler()]
22
  )
23
 
 
13
 
14
  Answer:"""
15
 
16
+ local_path="ggml-gpt4all-j-v1.3-groovy"
17
 
18
  prompt = PromptTemplate(template=template, input_variables=["question"])
19
  from langchain.llms import GPT4All
20
  llm = GPT4All(
21
+ model=local_path,
22
  callbacks=[StreamingStdOutCallbackHandler()]
23
  )
24