Spaces:
Sleeping
Sleeping
| title: iBoothMe Case Study Generator | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: pink | |
| sdk: gradio | |
| sdk_version: 5.27.0 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # π iBoothMe Case Study Generator | |
| This is a Gradio-based AI tool that generates energetic, structured marketing case studies from informal brand activation event descriptions. It supports both **text input** and **audio input**. The audio is transcribed using **OpenAI Whisper**, and the case study is generated using **GPT-4o**. | |
| --- | |
| ## π Features | |
| - π Paste or write an informal event description | |
| - ποΈ Upload or record audio to transcribe via OpenAI Whisper | |
| - π Generates structured case studies in the format: **Challenge**, **Solution**, and optional **Results** | |
| - β¨ Uses a pre-defined prompt system to match real-world case study tone and format | |
| - ποΈ Clean, tabbed Gradio UI with audio and text support | |
| --- | |
| ## π§± Tech Stack | |
| - Python π | |
| - Gradio ποΈ | |
| - OpenAI GPT-4o & Whisper π§ | |
| - dotenv for API key management π | |
| --- | |
| ## π§© File Structure | |
| ``` | |
| CaseStudy_Generator/ | |
| βββ main.py | |
| βββ prompts.py | |
| βββ .env | |
| βββ requirements.txt | |
| βββ README.md | |
| ``` | |
| --- | |
| ## π₯ Installation & Setup | |
| ### 1. Clone the Repository | |
| ```bash | |
| git clone https://github.com/SummeyaTahir/Clean_CaseStudy_Generator.git | |
| cd Clean_CaseStudy_Generator | |
| ``` | |
| ### 2. (Optional) Create a Virtual Environment | |
| ```bash | |
| python -m venv venv | |
| venv\Scripts\activate # On Windows | |
| # source venv/bin/activate # On Mac/Linux | |
| ``` | |
| ### 3. Install the Requirements | |
| ```bash | |
| pip install -r requirements.txt | |
| ``` | |
| ### 3. Create .env File | |
| Create a .env file in the root directory and paste this into it: | |
| ```bash | |
| OPENAI_API_KEY=your-openai-api-key-here | |
| ``` | |
| ### 4. βΆοΈ Run the App | |
| ```bash | |
| python main.py | |
| ``` | |