File size: 1,395 Bytes
5d244dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
    """)