import streamlit as st def show_tutorial(): st.title("Tutorial") if st.session_state.role == "Consumer": show_consumer_tutorial() else: show_therapist_tutorial() def show_consumer_tutorial(): st.header("Welcome to MI Assistant - Consumer Guide") st.subheader("Available Features") st.markdown(""" 1. **Live Session** - Record real-time conversations - Get immediate feedback and analysis - Track your progress over time 2. **Moti Chat** - Chat with our AI therapist - Practice motivational conversations - Receive supportive guidance 3. **Session Analysis** - Upload previous session recordings - Get comprehensive analysis - Track your progress """) def show_therapist_tutorial(): st.header("Welcome to MI Assistant - Therapist Guide") st.subheader("Professional Features") st.markdown(""" 1. **Live Session Analysis** - Real-time MI adherence monitoring - Immediate feedback on techniques - Session recording and transcription 2. **Session Review** - Comprehensive MI framework analysis - MITI 4.2.1 scoring - Detailed feedback and recommendations 3. **Progress Tracking** - Long-term client progress monitoring - Statistical analysis of improvement - Evidence-based outcome measures """)