Commit ·
35f56c1
1
Parent(s): ba54a85
fixed color issue
Browse files
app.py
CHANGED
|
@@ -92,6 +92,7 @@ if st.button("Submit"):
|
|
| 92 |
|
| 93 |
ners = openai_chat_completion_response(GUIDELINES_PROMPT)
|
| 94 |
ners_dictionary = ast.literal_eval(ners)
|
|
|
|
| 95 |
for entity_type, entity_list in ners_dictionary.items():
|
| 96 |
entity_list = list(set(entity_list))
|
| 97 |
color = colors[entity_type]
|
|
|
|
| 92 |
|
| 93 |
ners = openai_chat_completion_response(GUIDELINES_PROMPT)
|
| 94 |
ners_dictionary = ast.literal_eval(ners)
|
| 95 |
+
st.json(ners_dictionary)
|
| 96 |
for entity_type, entity_list in ners_dictionary.items():
|
| 97 |
entity_list = list(set(entity_list))
|
| 98 |
color = colors[entity_type]
|