Jiaaaaaaax commited on
Commit
5d244dd
·
verified ·
1 Parent(s): 5cbbfa5

Create tutorial.py

Browse files
Files changed (1) hide show
  1. tutorial.py +53 -0
tutorial.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def show_tutorial():
4
+ st.title("Tutorial")
5
+
6
+ if st.session_state.role == "Consumer":
7
+ show_consumer_tutorial()
8
+ else:
9
+ show_therapist_tutorial()
10
+
11
+ def show_consumer_tutorial():
12
+ st.header("Welcome to MI Assistant - Consumer Guide")
13
+
14
+ st.subheader("Available Features")
15
+
16
+ st.markdown("""
17
+ 1. **Live Session**
18
+ - Record real-time conversations
19
+ - Get immediate feedback and analysis
20
+ - Track your progress over time
21
+
22
+ 2. **Moti Chat**
23
+ - Chat with our AI therapist
24
+ - Practice motivational conversations
25
+ - Receive supportive guidance
26
+
27
+ 3. **Session Analysis**
28
+ - Upload previous session recordings
29
+ - Get comprehensive analysis
30
+ - Track your progress
31
+ """)
32
+
33
+ def show_therapist_tutorial():
34
+ st.header("Welcome to MI Assistant - Therapist Guide")
35
+
36
+ st.subheader("Professional Features")
37
+
38
+ st.markdown("""
39
+ 1. **Live Session Analysis**
40
+ - Real-time MI adherence monitoring
41
+ - Immediate feedback on techniques
42
+ - Session recording and transcription
43
+
44
+ 2. **Session Review**
45
+ - Comprehensive MI framework analysis
46
+ - MITI 4.2.1 scoring
47
+ - Detailed feedback and recommendations
48
+
49
+ 3. **Progress Tracking**
50
+ - Long-term client progress monitoring
51
+ - Statistical analysis of improvement
52
+ - Evidence-based outcome measures
53
+ """)