Spaces:
Configuration error

NewsForMe / app.py
mia0601's picture
Upload app.py
716ddcf verified
Raw History Blame Contribute Delete
467 Bytes
import streamlit as st
import json
st.set_page_config(page_title="我的兴趣演出预警", layout="wide")
st.title("🎵 我的标签匹配演出信息")
with open("data/filtered.json", "r", encoding="utf-8") as f:
events = json.load(f)
for event in events:
st.markdown(f"### {event['title']}")
st.write(f"📍 地点: {event['location']} | 📅 时间: {event['date']}")
st.markdown(f"[🔗 查看详情]({event['url']})")
st.markdown("---")