--- title: Testing Lesson Plan emoji: 🚀 colorFrom: red colorTo: red sdk: docker app_port: 8501 tags: - streamlit pinned: false short_description: Streamlit template space --- # Welcome to Streamlit! Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart: If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community forums](https://discuss.streamlit.io). # Lesson Plan Generator A Streamlit application that generates comprehensive lesson plans using Google's Gemini AI. ## Setup 1. Clone this repository 2. Install the required packages: ```bash pip install -r requirements.txt ``` ## API Key Setup ### Local Development 1. Create a `.env` file in the root directory 2. Add your Google AI API key: ``` GOOGLE_API_KEY=your_api_key_here ``` ### Hugging Face Spaces Deployment 1. Go to your Space's settings 2. Navigate to the "Repository secrets" section 3. Add a new secret: - Name: `Gemini_API_key` - Value: Your Google AI API key ## Running the Application ### Local Development ```bash streamlit run app.py ``` ### Hugging Face Spaces The application will automatically use the API key from the Space's secrets. ## Features - Generate comprehensive lesson plans - Automatic generation of learning objectives based on Bloom's Taxonomy - Customizable lesson parameters - Download lesson plans in text format ## Deployment This app is designed to be deployed on Hugging Face Spaces. The repository includes all necessary configuration files for deployment. ## Contributing Feel free to submit issues and enhancement requests!