Spaces:
Sleeping
Sleeping
metadata
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 and community forums.
Lesson Plan Generator
A Streamlit application that generates comprehensive lesson plans using Google's Gemini AI.
Setup
- Clone this repository
- Install the required packages:
pip install -r requirements.txt
API Key Setup
Local Development
- Create a
.envfile in the root directory - Add your Google AI API key:
GOOGLE_API_KEY=your_api_key_here
Hugging Face Spaces Deployment
- Go to your Space's settings
- Navigate to the "Repository secrets" section
- Add a new secret:
- Name:
Gemini_API_key - Value: Your Google AI API key
- Name:
Running the Application
Local Development
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!