Spaces:
Runtime error
Runtime error
| title: 5/3/1 Workout Program Assistant | |
| emoji: 💪 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| app_port: 8000 | |
| pinned: false | |
| # Book Assistant | |
| A specialized AI assistant that helps you analyze and get insights from your books, particularly fitness books. It can: | |
| 1. Create personalized workout plans | |
| 2. Answer questions about book content | |
| 3. Provide comprehensive book summaries | |
| ## Features | |
| - **Workout Planning**: Creates personalized workout plans based on fitness books | |
| - **Content Analysis**: Answers specific questions about book content | |
| - **Book Summarization**: Provides detailed summaries of books | |
| ## Setup | |
| 1. Upload your PDF book to the `data/uploads` directory | |
| 2. Ask questions like: | |
| - "Create a workout plan based on this book" | |
| - "What are the main exercises in this book?" | |
| - "Summarize this book for me" | |
| ## Environment Variables | |
| Create a `.env` file with: | |
| ``` | |
| OPENAI_API_KEY=your_openai_api_key_here | |
| ``` | |
| ## Development | |
| To run locally: | |
| ```bash | |
| pip install -r requirements.txt | |
| chainlit run app/chainlit/chainlit.py | |
| ``` | |
| ## License | |
| MIT License |