Christopher Román Jaimes
commited on
Commit
·
2c6872f
1
Parent(s):
1b6b3cf
chore: add raw predictions.
Browse files
app.py
CHANGED
|
@@ -219,7 +219,7 @@ def generate_answer(text):
|
|
| 219 |
|
| 220 |
result_json = json.dumps(entities_cleaned, indent = 4, ensure_ascii = False)
|
| 221 |
|
| 222 |
-
return result_json + "\n \n" + entities_formatted
|
| 223 |
|
| 224 |
# Cambiar a entrada de texto
|
| 225 |
#text_input = gr.inputs.Textbox(lines=15, label="Input Text")
|
|
|
|
| 219 |
|
| 220 |
result_json = json.dumps(entities_cleaned, indent = 4, ensure_ascii = False)
|
| 221 |
|
| 222 |
+
return result_json + "\n \n" + json.dumps(entities_formatted, indent = 4, ensure_ascii = False)
|
| 223 |
|
| 224 |
# Cambiar a entrada de texto
|
| 225 |
#text_input = gr.inputs.Textbox(lines=15, label="Input Text")
|