LMS_Demo / src /modules /module2.py
raymondEDS
demo complete
a7c26a1
import streamlit as st
def show():
st.title("Module 2: Learning Your Speech")
# Introduction
st.markdown("""
Welcome to Module 2! In this module, we'll explore effective ways to learn and memorize your speech.
""")
# Embed YouTube Video
st.video("https://www.youtube.com/watch?v=wTX5v_VhmiY")
# Interactive Learning Methods Section
st.subheader("Interactive Learning Methods")
# Create columns for different learning approaches
col1, col2 = st.columns(2)
with col1:
st.markdown("### 🎯 Practice Methods")
practice_method = st.radio(
"Choose a practice method to explore:",
["Mirror Practice", "Recording Yourself", "Peer Practice", "Timed Practice"]
)
if practice_method == "Mirror Practice":
st.info("""
**Mirror Practice Benefits:**
- See your facial expressions and body language
- Build confidence with eye contact
- Practice gestures naturally
- Get immediate visual feedback
""")
elif practice_method == "Recording Yourself":
st.info("""
**Recording Benefits:**
- Review your delivery objectively
- Identify areas for improvement
- Track progress over time
- Practice timing and pacing
""")
elif practice_method == "Peer Practice":
st.info("""
**Peer Practice Benefits:**
- Get constructive feedback
- Practice with an audience
- Build confidence
- Identify unclear points
""")
else: # Timed Practice
st.info("""
**Timed Practice Benefits:**
- Ensure you meet time requirements
- Learn to pace yourself
- Identify sections that need trimming
- Build time awareness
""")
with col2:
st.markdown("### πŸ“ Memory Techniques")
memory_technique = st.selectbox(
"Select a memory technique:",
["Chunking", "Visualization", "Story Method", "Repetition"]
)
if memory_technique == "Chunking":
st.info("""
**Chunking Method:**
- Break speech into smaller sections
- Master one section at a time
- Connect sections with transitions
- Build confidence gradually
""")
elif memory_technique == "Visualization":
st.info("""
**Visualization Method:**
- Create mental images for key points
- Link images to speech content
- Use visual cues for transitions
- Build a mental map of your speech
""")
elif memory_technique == "Story Method":
st.info("""
**Story Method:**
- Frame your speech as a narrative
- Create a beginning, middle, and end
- Use storytelling techniques
- Make content more memorable
""")
else: # Repetition
st.info("""
**Repetition Method:**
- Practice sections multiple times
- Vary your practice approach
- Focus on problem areas
- Build muscle memory
""")
# Interactive Practice Schedule
st.subheader("Create Your Practice Schedule")
days = st.slider("How many days until your speech?", 1, 14, 7)
if days:
st.markdown(f"### πŸ“… {days}-Day Practice Plan")
# Calculate practice sessions
total_sessions = days * 2 # Two sessions per day
# Create a practice schedule
st.markdown("""
**Recommended Daily Schedule:**
- Morning Session (15-20 minutes)
- Evening Session (15-20 minutes)
""")
# Progress tracking
st.markdown("### πŸ“Š Track Your Progress")
progress = st.slider("How confident do you feel with your speech?", 0, 100, 50)
if progress < 50:
st.warning("""
**Tips to Boost Confidence:**
- Break down your speech into smaller sections
- Practice one section at a time
- Record yourself and review
- Get feedback from peers
""")
elif progress < 80:
st.info("""
**You're Making Good Progress!**
- Focus on refining your delivery
- Practice with different audiences
- Work on your timing
- Polish your transitions
""")
else:
st.success("""
**You're Almost There!**
- Fine-tune your delivery
- Practice in different environments
- Record a final run-through
- Get final feedback
""")
# Next Steps
st.markdown("""
### Next Steps
1. Choose your preferred practice methods
2. Create a practice schedule
3. Start with small sections
4. Build up to full speech practice
5. Get feedback and adjust
""")