Spaces:
Runtime error
Runtime error
add
Browse files152 unmodified lines1531541551561571589 unmodified lines16816917017117217336 unmodified lines210211212213214215152 unmodified lines'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'),9 unmodified linesreturn {'stats': stats, 'recentCalls': recent_calls}def display_report(processed_data):st.subheader("π Call Statistics")cols = st.columns(5)36 unmodified linespage_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")152 unmodified lines1531541551561571581599 unmodified lines16917017117217317417536 unmodified lines212213214215216217218152 unmodified lines'Phone Number': call.get('phone', 'N/A'),'Email': call.get('email', 'N/A'),'Company Name': call.get('company_name', 'N/A'),'Success Evaluation': call.get('analysis', {}).get('successEvaluation', 'N/A'), # Re-added Success Evaluation'Direction': 'Inbound' if call.get('type') == 'inboundPhoneCall' else 'Outbound','Outcome': call.get('status', 'N/A'),'Started At': call.get('startedAt', 'N/A'),9 unmodified linesreturn {'stats': stats, 'recentCalls': recent_calls}def display_report(processed_data):st.subheader("π Call Statistics")cols = st.columns(5)36 unmodified linespage_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+3