Yash Sachdeva commited on
Commit
52de7f3
·
1 Parent(s): 21be15d

python syntax

Browse files
Files changed (1) hide show
  1. question_paper.py +1 -1
question_paper.py CHANGED
@@ -22,4 +22,4 @@ def llama():
22
  echo=True # Echo the prompt back in the output
23
  ) # Generate a completion, can also call create_completion
24
 
25
- return {"output": output}
 
22
  echo=True # Echo the prompt back in the output
23
  ) # Generate a completion, can also call create_completion
24
 
25
+ return output["choices"][0]["text"].strip()