kat33 commited on
Commit
197ae45
·
1 Parent(s): 147287a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def question_answer(context, question):
21
  mfile=download_model()
22
  text=context + "\n\nQuestion: \"\"\"\n" + question + "\nPlease use markdown formatting for answer. \nAnswer:\n"
23
  llm = Llama(model_path=mfile)
24
- output = llm(text, max_tokens=33, stop=["### Response", "\n"], echo=True)
25
  print(output)
26
  return output.choices[0].text
27
  '''
 
21
  mfile=download_model()
22
  text=context + "\n\nQuestion: \"\"\"\n" + question + "\nPlease use markdown formatting for answer. \nAnswer:\n"
23
  llm = Llama(model_path=mfile)
24
+ output = llm(text, max_tokens=33, stop=["### Response"], echo=True)
25
  print(output)
26
  return output.choices[0].text
27
  '''