Spaces:
Runtime error
Runtime error
gang
Browse files148 unmodified lines1491501511521531541551561571581598 unmodified lines16816917017117217335 unmodified lines209210211212213214148 unmodified linesrecent_calls = [{'Name': call.get('analysis', {}).get('structuredData', {}).get('Name', 'N/A'),'Phone Number': call.get('analysis', {}).get('structuredData', {}).get('Number', 'N/A'),'Email': call.get('analysis', {}).get('structuredData', {}).get('Email', 'N/A'),'Date': call.get('analysis', {}).get('structuredData', {}).get('Date', 'N/A'),'Success Evaluation': call.get('analysis', {}).get('successEvaluation', 'N/A'),'Direction': 'Inbound' if call.get('type') == 'inboundPhoneCall' else 'Outbound','Outcome': call.get('status', 'N/A'),'Started At': call.get('startedAt', 'N/A'),8 unmodified linesreturn {'stats': stats, 'recentCalls': recent_calls}def display_report(processed_data):st.subheader("π Call Statistics")cols = st.columns(5)35 unmodified lineswith col_bottom_right:page_bottom = st.number_input("Page number", min_value=1, max_value=total_pages, step=1, key="page_number_bottom")def main():st.title("π Call Dashboard")148 unmodified lines1491501511521531541551561571588 unmodified lines16716816917017117217335 unmodified lines209210211212213214215148 unmodified linesrecent_calls = [{'First Name': call.get('first_name', 'N/A'),'Phone Number': call.get('phone', 'N/A'),'Email': call.get('email', 'N/A'),'Company Name': call.get('company_name', 'N/A'),'Direction': 'Inbound' if call.get('type') == 'inboundPhoneCall' else 'Outbound','Outcome': call.get('status', 'N/A'),'Started At': call.get('startedAt', 'N/A'),8 unmodified linesreturn {'stats': stats, 'recentCalls': recent_calls}def display_report(processed_data):st.subheader("π Call Statistics")cols = st.columns(5)35 unmodified lineswith col_bottom_right:page_bottom = st.number_input("Page number", min_value=1, max_value=total_pages, step=1, key="page_number_bottom")def main():st.title("π Call Dashboard")
app.py+6-5