Update README.md
Browse files
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"],
|
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)
|