Merge branch 'main' of https://github.com/VladBastina/MeetingUnderstanding into main
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Video Meeting Understanding
|
| 2 |
+
|
| 3 |
+
This project uses gemini tu make a report about a video of a meeting using the video itself aswell as the transcript of the meeting.
|
| 4 |
+
|
| 5 |
+
## Requirements
|
| 6 |
+
Python 3.12
|
| 7 |
+
|
| 8 |
+
## How to setup
|
| 9 |
+
1. Create an environment and install dependecies
|
| 10 |
+
|
| 11 |
+
```bash
|
| 12 |
+
conda create -n meetUnder python=3.12
|
| 13 |
+
conda activate meetUnder
|
| 14 |
+
pip install -r requirements.txt
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
2. Setup secrets in for streamlit
|
| 18 |
+
|
| 19 |
+
2.1 Create a new file in the .streamlit folder and name it secrets.toml. You will insert here the following keys
|
| 20 |
+
|
| 21 |
+
```bash
|
| 22 |
+
GOOGLE_API_KEY = 'your_key_here'
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
2.2 Create a new project in google cloud platform and activate the google cloud speech-to-text api and then create a new credentials for a service account and download the json key. Then copy paste the info in the json and put everything in one line and replace the : with =
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
GOOGLE_APPLICATION_CREDENTIALS = { #json info here }
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## How to run
|
| 32 |
+
|
| 33 |
+
```bash
|
| 34 |
+
streamlit run app.py
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## How it works
|
| 38 |
+
|
| 39 |
+
**app.py** is the main point that controls the ui in streamlit
|
| 40 |
+
|
| 41 |
+
**cloud_speech.py** makes the transcription of the sound file of the meeting
|
| 42 |
+
|
| 43 |
+
**vision_api_call.py** The name is wron for what it does. This is the file that takes the transcription and the video itself and gives them to gemini api that makes the report.
|
| 44 |
+
|
| 45 |
+
## Where to find it
|
| 46 |
+
|
| 47 |
+
Path on **rtx** : /home/vladp/Projects/meetingUnderstanding/
|
| 48 |
+
|
| 49 |
+
Env : meetUnder
|