Jiaaaaaaax commited on
Commit
500a392
·
verified ·
1 Parent(s): 55e9f92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +50 -33
app.py CHANGED
@@ -93,41 +93,58 @@ def show_welcome():
93
  <p class="sub-header">MotiMeter is your AI companion that makes motivational interviewing simple and clear. It listens to therapy conversations and shows both therapists and clients exactly where they are on their change journey - just like a GPS for personal growth.</p>
94
  </div>
95
  """, unsafe_allow_html=True)
96
-
97
- # Create three columns for features
98
- col1, col2, col3 = st.columns(3)
99
-
100
  with col1:
101
- st.markdown("""
102
- <div class="feature-box">
103
- <h3>🎯 Real-time Analysis</h3>
104
- <p>Get instant feedback on your MI sessions using advanced AI technology</p>
105
- </div>
106
- """, unsafe_allow_html=True)
107
-
108
  with col2:
109
- st.markdown("""
110
- <div class="feature-box">
111
- <h3>📊 Track Progress</h3>
112
- <p>Monitor your development and improve your MI skills over time</p>
113
- </div>
114
- """, unsafe_allow_html=True)
115
-
116
- with col3:
117
- st.markdown("""
118
- <div class="feature-box">
119
- <h3>🤝 Interactive Support</h3>
120
- <p>Practice and enhance your MI techniques with AI guidance</p>
121
- </div>
122
- """, unsafe_allow_html=True)
123
-
124
- # Add getting started section
125
- st.markdown("""
126
- <div class="centered">
127
- <h2>Getting Started</h2>
128
- <p>Upload your session recordings or practice with our AI assistant to improve your MI skills.</p>
129
- </div>
130
- """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  # Quick start guide
133
  with st.expander("📚 Quick Start Guide"):
 
93
  <p class="sub-header">MotiMeter is your AI companion that makes motivational interviewing simple and clear. It listens to therapy conversations and shows both therapists and clients exactly where they are on their change journey - just like a GPS for personal growth.</p>
94
  </div>
95
  """, unsafe_allow_html=True)
96
+ st.write("Please select your role to continue:")
97
+
98
+ col1, col2 = st.columns(2)
99
+ # Centering the buttons using markdown
100
  with col1:
101
+ st.markdown("<div style='text-align: center;'>", unsafe_allow_html=True)
102
+ if st.button("I am a Consumer"):
103
+ st.session_state.role = "Consumer"
104
+ st.session_state.current_mode = "tutorial"
105
+ st.markdown("</div>", unsafe_allow_html=True)
106
+
 
107
  with col2:
108
+ st.markdown("<div style='text-align: center;'>", unsafe_allow_html=True)
109
+ if st.button("I am a Therapist"):
110
+ st.session_state.role = "Therapist"
111
+ st.session_state.current_mode = "tutorial"
112
+ st.markdown("</div>", unsafe_allow_html=True)
113
+
114
+ # # Create three columns for features
115
+ # col1, col2, col3 = st.columns(3)
116
+
117
+ # with col1:
118
+ # st.markdown("""
119
+ # <div class="feature-box">
120
+ # <h3>🎯 Real-time Analysis</h3>
121
+ # <p>Get instant feedback on your MI sessions using advanced AI technology</p>
122
+ # </div>
123
+ # """, unsafe_allow_html=True)
124
+
125
+ # with col2:
126
+ # st.markdown("""
127
+ # <div class="feature-box">
128
+ # <h3>📊 Track Progress</h3>
129
+ # <p>Monitor your development and improve your MI skills over time</p>
130
+ # </div>
131
+ # """, unsafe_allow_html=True)
132
+
133
+ # with col3:
134
+ # st.markdown("""
135
+ # <div class="feature-box">
136
+ # <h3>🤝 Interactive Support</h3>
137
+ # <p>Practice and enhance your MI techniques with AI guidance</p>
138
+ # </div>
139
+ # """, unsafe_allow_html=True)
140
+
141
+ # # Add getting started section
142
+ # st.markdown("""
143
+ # <div class="centered">
144
+ # <h2>Getting Started</h2>
145
+ # <p>Upload your session recordings or practice with our AI assistant to improve your MI skills.</p>
146
+ # </div>
147
+ # """, unsafe_allow_html=True)
148
 
149
  # Quick start guide
150
  with st.expander("📚 Quick Start Guide"):