Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
98 |
-
col1, col2
|
99 |
-
|
100 |
with col1:
|
101 |
-
st.markdown(""
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
with col2:
|
109 |
-
st.markdown(""
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
#
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"):
|