File size: 402 Bytes
f5ce21a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import streamlit as st
import json
with open("insights/insights.json") as f:
insights = json.load(f)
st.title("AI Market Intelligence Dashboard")
index = st.selectbox("Select Insight", range(len(insights)))
item = insights[index]
st.write(f"**Insight:** {item['insight']}")
st.write(f"**Confidence:** {item['confidence']}")
st.write(f"**Recommendation:** {item['recommendation']}")
|