Christopher Román Jaimes
commited on
Commit
·
e2740ad
1
Parent(s):
9c88bfd
chore: add output dict names.
Browse files
app.py
CHANGED
@@ -271,7 +271,7 @@ def generate_answer(text):
|
|
271 |
|
272 |
result_json = json.dumps(entities_cleaned, indent = 4, ensure_ascii = False)
|
273 |
|
274 |
-
return result_json + "\n \n" + json.dumps(entities_formatted, indent = 4, ensure_ascii = False)
|
275 |
|
276 |
# Cambiar a entrada de texto
|
277 |
#text_input = gr.inputs.Textbox(lines=15, label="Input Text")
|
|
|
271 |
|
272 |
result_json = json.dumps(entities_cleaned, indent = 4, ensure_ascii = False)
|
273 |
|
274 |
+
return "Clean Result:" + result_json + "\n \n" + "Raw Result:" + json.dumps(entities_formatted, indent = 4, ensure_ascii = False)
|
275 |
|
276 |
# Cambiar a entrada de texto
|
277 |
#text_input = gr.inputs.Textbox(lines=15, label="Input Text")
|