AjayP13 commited on
Commit
4532e19
·
verified ·
1 Parent(s): 921e2f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -61,7 +61,7 @@ output = generations[0][0]['generated_text']
61
  output_json = json.loads()
62
 
63
  # Expand the answer
64
- output_json["answer"] = expand(document=inputs[0]["document"], answer=output_json["answer"])
65
 
66
  # Print the output JSON
67
  print(output_json)
 
61
  output_json = json.loads()
62
 
63
  # Expand the answer
64
+ output_json["answer"] = expand(document=inputs[0]["document"], text=output_json["answer"])
65
 
66
  # Print the output JSON
67
  print(output_json)