Yoonc commited on
Commit
d078060
·
verified ·
1 Parent(s): b6e5512

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +43 -72
Dockerfile CHANGED
@@ -1,72 +1,43 @@
1
- ![App Screenshot](assets/Landingpage.png)
2
-
3
- AI-Powered Coaching Assistant
4
- An intelligent coaching app that handles administrative tasks so coaches can focus on what they do best—coaching.
5
- What It Does
6
-
7
- Real-time listening: Analyzes coaching sessions as they happen, identifying key themes and breakthrough moments
8
- Smart insights: Provides coaches with timely suggestions and questions to deepen conversations
9
- Automated summaries: Generates professional session reports that eliminate manual note-taking
10
-
11
- Frontend: Lovable/no-code platforms
12
- AI: OpenAI API (Whisper + GPT)
13
- Backend: Python (FastAPI/Flask)
14
- Database: Supabase
15
-
16
-
17
- # AI-Powered Coaching Assistant
18
-
19
- An intelligent coaching app that handles administrative tasks so coaches can focus on what they do best—coaching.
20
-
21
- ## What It Does
22
-
23
- - **Real-time listening:** Analyzes coaching sessions as they happen, identifying key themes and breakthrough moments
24
- - **Smart insights:** Provides coaches with timely suggestions and questions to deepen conversations
25
- - **Automated summaries:** Generates professional session reports that eliminate manual note-taking
26
-
27
- ## The Problem
28
-
29
- Coaches waste hours on administrative tasks like session notes instead of focusing on actual coaching. Generic AI tools aren't built for coaching workflows.
30
-
31
- ## Solution
32
-
33
- A coaching-specific app that augments rather than replaces human coaches—simple, intuitive, and designed for professional coaching workflows.
34
-
35
- ## Tech Stack
36
-
37
- - **Frontend:** Lovable/no-code platforms
38
- - **AI:** OpenAI API (Whisper + GPT)
39
- - **Backend:** Python (FastAPI/Flask)
40
- - **Database:** Supabase
41
-
42
- ## Quick Start
43
-
44
- 1. **Clone the repository**
45
- ```bash
46
- git clone https://github.com/YoonJ-C/My-AI-project.git
47
- cd ai-coaching-assistant
48
- ```
49
-
50
- 2. **Set up environment variables**
51
- ```bash
52
- cp .env.example .env
53
- # Add your OpenAI API key and Supabase credentials to .env
54
- ```
55
-
56
- 3. **Install dependencies**
57
- ```bash
58
- pip install -r requirements.txt
59
- ```
60
-
61
- 4. **Run the application**
62
- ```bash
63
- python app.py
64
- # or
65
- uvicorn main:app --reload
66
- ```
67
-
68
- 5. **Access the app**
69
- - Open http://localhost:5001 in your browser
70
- - Start a coaching session and let the AI assist you
71
-
72
- **Prerequisites:** Python 3.8+, OpenAI API key, Supabase account
 
1
+ # ================================
2
+ # Vera - AI Coaching Dashboard
3
+ # Streamlit + PyAudio + Whisper
4
+ # ================================
5
+
6
+ # Use an official Python base image
7
+ FROM python:3.10-slim
8
+
9
+ # Set working directory
10
+ WORKDIR /app
11
+
12
+ # Install system dependencies for PyAudio, PortAudio, and audio handling
13
+ RUN apt-get update && apt-get install -y \
14
+ build-essential \
15
+ portaudio19-dev \
16
+ ffmpeg \
17
+ libsndfile1 \
18
+ && rm -rf /var/lib/apt/lists/*
19
+
20
+ # Copy application files
21
+ COPY . /app
22
+
23
+ # Install Python dependencies
24
+ RUN pip install --no-cache-dir \
25
+ streamlit \
26
+ openai \
27
+ python-dotenv \
28
+ pyaudio \
29
+ transformers \
30
+ torch \
31
+ plotly \
32
+ pandas
33
+
34
+ # (Optional) expose Streamlit’s default port
35
+ EXPOSE 7860
36
+
37
+ # Set environment variable for Streamlit
38
+ ENV STREAMLIT_SERVER_PORT=7860
39
+ ENV STREAMLIT_SERVER_ENABLECORS=false
40
+ ENV STREAMLIT_SERVER_HEADLESS=true
41
+
42
+ # Start the Streamlit app
43
+ CMD ["streamlit", "run", "main.py"]