tommy24 commited on
Commit
077caee
·
1 Parent(s): ed9cd5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def func(user):
33
  # callbacks = [StreamingStdOutCallbackHandler()]
34
 
35
  # Verbose is required to pass to the callback manager
36
- llm = GPT4All(model="./nous-hermes-13b.ggmlv3.q4_0.bin")
37
  llm_chain = LLMChain(prompt=prompt, llm=llm)
38
  question = user
39
  llm_chain.run(question)
 
33
  # callbacks = [StreamingStdOutCallbackHandler()]
34
 
35
  # Verbose is required to pass to the callback manager
36
+ llm = GPT4All(model="./nous-hermes-13b.ggmlv3.q4_0.bin", n_ctx=5000)
37
  llm_chain = LLMChain(prompt=prompt, llm=llm)
38
  question = user
39
  llm_chain.run(question)