Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,12 +172,14 @@ def main():
|
|
| 172 |
if "error" not in analysis_data:
|
| 173 |
st.write("#### User Intent:", analysis_data['user_intent'])
|
| 174 |
st.divider() # 👈 An horizontal rule
|
| 175 |
-
st.write("### Follow-up Questions")
|
| 176 |
for question in analysis_data['follow_up_questions']:
|
| 177 |
st.write("- " + question)
|
| 178 |
-
st.
|
|
|
|
| 179 |
for entity_type, entities in analysis_data['entities'].items():
|
| 180 |
st.write(f"**{entity_type.capitalize()}**: {', '.join(entities)}")
|
|
|
|
| 181 |
|
| 182 |
# Tab 3: Sentiment - Displaying sentiment analysis of the response
|
| 183 |
with tab3:
|
|
|
|
| 172 |
if "error" not in analysis_data:
|
| 173 |
st.write("#### User Intent:", analysis_data['user_intent'])
|
| 174 |
st.divider() # 👈 An horizontal rule
|
| 175 |
+
st.write("### Follow-up Questions:")
|
| 176 |
for question in analysis_data['follow_up_questions']:
|
| 177 |
st.write("- " + question)
|
| 178 |
+
st.divider()
|
| 179 |
+
st.write("#### Identified Concepts:")
|
| 180 |
for entity_type, entities in analysis_data['entities'].items():
|
| 181 |
st.write(f"**{entity_type.capitalize()}**: {', '.join(entities)}")
|
| 182 |
+
st.divider()
|
| 183 |
|
| 184 |
# Tab 3: Sentiment - Displaying sentiment analysis of the response
|
| 185 |
with tab3:
|