Summeya commited on
Commit
60d3e76
Β·
verified Β·
1 Parent(s): cbabb6c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +93 -70
README.md CHANGED
@@ -1,70 +1,93 @@
1
- # πŸ“„ iBoothMe Case Study Generator
2
-
3
- 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**.
4
-
5
- ---
6
-
7
- ## πŸš€ Features
8
-
9
- - πŸ“ Paste or write an informal event description
10
- - πŸŽ™οΈ Upload or record audio to transcribe via OpenAI Whisper
11
- - πŸ“‹ Generates structured case studies in the format: **Challenge**, **Solution**, and optional **Results**
12
- - ✨ Uses a pre-defined prompt system to match real-world case study tone and format
13
- - πŸŽ›οΈ Clean, tabbed Gradio UI with audio and text support
14
-
15
- ---
16
-
17
- ## 🧱 Tech Stack
18
-
19
- - Python 🐍
20
- - Gradio πŸŽ›οΈ
21
- - OpenAI GPT-4o & Whisper 🧠
22
- - dotenv for API key management πŸ”
23
-
24
- ---
25
-
26
- ## 🧩 File Structure
27
-
28
- ```
29
- CaseStudy_Generator/
30
- β”œβ”€β”€ main.py
31
- β”œβ”€β”€ prompts.py
32
- β”œβ”€β”€ .env
33
- β”œβ”€β”€ requirements.txt
34
- └── README.md
35
- ```
36
-
37
- ---
38
-
39
- ## πŸ“₯ Installation & Setup
40
-
41
- ### 1. Clone the Repository
42
-
43
- ```bash
44
- git clone https://github.com/SummeyaTahir/Clean_CaseStudy_Generator.git
45
- cd Clean_CaseStudy_Generator
46
- ```
47
- ### 2. (Optional) Create a Virtual Environment
48
- ```bash
49
- python -m venv venv
50
- venv\Scripts\activate # On Windows
51
- # source venv/bin/activate # On Mac/Linux
52
- ```
53
-
54
- ### 3. Install the Requirements
55
- ```bash
56
- pip install -r requirements.txt
57
- ```
58
-
59
- ### 3. Create .env File
60
- Create a .env file in the root directory and paste this into it:
61
- ```bash
62
-
63
- OPENAI_API_KEY=your-openai-api-key-here
64
- ```
65
- ### 4. ▢️ Run the App
66
- ```bash
67
- python main.py
68
- ```
69
-
70
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+
4
+ ---
5
+ title: iBoothMe Case Study Generator
6
+
7
+ emoji: πŸ“„
8
+
9
+ colorFrom: indigo
10
+
11
+ colorTo: pink
12
+
13
+ sdk: gradio
14
+
15
+ sdk_version: 4.27.0
16
+
17
+ app_file: app.py
18
+
19
+ pinned: false
20
+
21
+ license: mit
22
+
23
+ ---
24
+ # πŸ“„ iBoothMe Case Study Generator
25
+
26
+ 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**.
27
+
28
+ ---
29
+
30
+ ## πŸš€ Features
31
+
32
+ - πŸ“ Paste or write an informal event description
33
+ - πŸŽ™οΈ Upload or record audio to transcribe via OpenAI Whisper
34
+ - πŸ“‹ Generates structured case studies in the format: **Challenge**, **Solution**, and optional **Results**
35
+ - ✨ Uses a pre-defined prompt system to match real-world case study tone and format
36
+ - πŸŽ›οΈ Clean, tabbed Gradio UI with audio and text support
37
+
38
+ ---
39
+
40
+ ## 🧱 Tech Stack
41
+
42
+ - Python 🐍
43
+ - Gradio πŸŽ›οΈ
44
+ - OpenAI GPT-4o & Whisper 🧠
45
+ - dotenv for API key management πŸ”
46
+
47
+ ---
48
+
49
+ ## 🧩 File Structure
50
+
51
+ ```
52
+ CaseStudy_Generator/
53
+ β”œβ”€β”€ main.py
54
+ β”œβ”€β”€ prompts.py
55
+ β”œβ”€β”€ .env
56
+ β”œβ”€β”€ requirements.txt
57
+ └── README.md
58
+ ```
59
+
60
+ ---
61
+
62
+ ## πŸ“₯ Installation & Setup
63
+
64
+ ### 1. Clone the Repository
65
+
66
+ ```bash
67
+ git clone https://github.com/SummeyaTahir/Clean_CaseStudy_Generator.git
68
+ cd Clean_CaseStudy_Generator
69
+ ```
70
+ ### 2. (Optional) Create a Virtual Environment
71
+ ```bash
72
+ python -m venv venv
73
+ venv\Scripts\activate # On Windows
74
+ # source venv/bin/activate # On Mac/Linux
75
+ ```
76
+
77
+ ### 3. Install the Requirements
78
+ ```bash
79
+ pip install -r requirements.txt
80
+ ```
81
+
82
+ ### 3. Create .env File
83
+ Create a .env file in the root directory and paste this into it:
84
+ ```bash
85
+
86
+ OPENAI_API_KEY=your-openai-api-key-here
87
+ ```
88
+ ### 4. ▢️ Run the App
89
+ ```bash
90
+ python main.py
91
+ ```
92
+
93
+