kat33 commited on
Commit
37c2625
1 Parent(s): f43faed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def question_answer(context, question):
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
  '''
28
  Output is of the form:
29
  {
 
23
  llm = Llama(model_path=mfile)
24
  output = llm(text, max_tokens=33, stop=["### Response"], echo=True)
25
  print(output)
26
+ return question,output['choices'][0]['text']
27
  '''
28
  Output is of the form:
29
  {