Spaces:
Running
Running
Update frontend.py
Browse files- frontend.py +3 -0
frontend.py
CHANGED
@@ -127,6 +127,9 @@ with tab1:
|
|
127 |
if data:
|
128 |
st.subheader("π Summary")
|
129 |
st.info(data["summary"])
|
|
|
|
|
|
|
130 |
st.metric("π Sentiment", data["sentiment"]["label"], delta=f"{data['sentiment']['score']:.2%}")
|
131 |
st.info(f"π’ Emotion: {data['emotion']}")
|
132 |
st.subheader("π Audio")
|
|
|
127 |
if data:
|
128 |
st.subheader("π Summary")
|
129 |
st.info(data["summary"])
|
130 |
+
st.caption(f"π§ Summary Type: {'Smart' if use_smart_summary else 'Standard'} | {verbosity} Response")
|
131 |
+
st.markdown(f"**Context:** `{data['industry']}` | `{data['product_category']}` | `Web`")
|
132 |
+
|
133 |
st.metric("π Sentiment", data["sentiment"]["label"], delta=f"{data['sentiment']['score']:.2%}")
|
134 |
st.info(f"π’ Emotion: {data['emotion']}")
|
135 |
st.subheader("π Audio")
|