Vlad Bastina commited on
Commit
c9618c0
·
2 Parent(s): 4fe7b93a54def9
Files changed (3) hide show
  1. .gitattributes +35 -0
  2. README.md +12 -49
  3. style.css +59 -15
.gitattributes CHANGED
@@ -1,3 +1,38 @@
1
  *.mp4 filter=lfs diff=lfs merge=lfs -text
2
  *wav filter=lfs diff=lfs merge=lfs -text
3
  *.PNG filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.mp4 filter=lfs diff=lfs merge=lfs -text
2
  *wav filter=lfs diff=lfs merge=lfs -text
3
  *.PNG filter=lfs diff=lfs merge=lfs -text
4
+ *.7z filter=lfs diff=lfs merge=lfs -text
5
+ *.arrow filter=lfs diff=lfs merge=lfs -text
6
+ *.bin filter=lfs diff=lfs merge=lfs -text
7
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
8
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
9
+ *.ftz filter=lfs diff=lfs merge=lfs -text
10
+ *.gz filter=lfs diff=lfs merge=lfs -text
11
+ *.h5 filter=lfs diff=lfs merge=lfs -text
12
+ *.joblib filter=lfs diff=lfs merge=lfs -text
13
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,49 +1,12 @@
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
 
1
+ ---
2
+ title: MeetingUnderstandingDemo
3
+ emoji: 🌍
4
+ colorFrom: indigo
5
+ colorTo: yellow
6
+ sdk: streamlit
7
+ sdk_version: 1.44.1
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
style.css CHANGED
@@ -1,32 +1,76 @@
1
- h1, h2, h3, h4, h5, h6 {
 
 
 
 
 
 
 
2
  font-family: "Space Grotesk", sans-serif !important;
3
  font-optical-sizing: auto !important;
4
- font-weight: 700 !important;
5
  font-style: normal !important;
6
  }
7
-
8
  h1, h2 {
9
- letter-spacing: -1px !important;
10
  }
11
-
12
  h1 {
13
- font-size: 36px !important;
14
  }
15
-
16
  h2 {
17
- font-size: 27px !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
 
 
 
 
 
 
 
20
  .st-emotion-cache-1dp5vir {
21
  background-image: linear-gradient(90deg, rgb(65, 105, 225), rgb(0, 255, 255)) !important;
22
  }
23
 
24
- body {
25
- font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
26
- font-size: 14px !important;
27
- text-align: left !important;
 
 
 
 
 
28
  }
29
 
30
- p , textarea {
31
- font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
32
- }
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
3
+ font-size: 14px !important;
4
+ text-align: left !important;
5
+ }
6
+
7
+ /* Headings */
8
+ h1, h2, h3 {
9
  font-family: "Space Grotesk", sans-serif !important;
10
  font-optical-sizing: auto !important;
11
+ font-weight: 500 !important;
12
  font-style: normal !important;
13
  }
 
14
  h1, h2 {
15
+ letter-spacing: -2px !important;
16
  }
 
17
  h1 {
18
+ font-size: 34px !important;
19
  }
 
20
  h2 {
21
+ font-size: 21px !important;
22
+ }
23
+ h3 {
24
+ font-size: 17px !important;
25
+ }
26
+ h4 {
27
+ font-size: 14px !important;
28
+ }
29
+
30
+ /* Butoane */
31
+
32
+ button,
33
+ .myButton {
34
+ font-weight: 600 !important;
35
+ }
36
+ button:hover,
37
+ .myButton:hover {
38
+ color: #FA6C03 !important;
39
+ border-color: #FA6C03 !important;
40
+ }
41
+ button:focus,
42
+ .myButton:focus {
43
+ color: #fff !important;
44
+ background-color: #FA6C03 !important;
45
  }
46
 
47
+ /* Buton sidebar */
48
+ [data-testid="stSidebar"] .stButton>button {
49
+ background-color: #4169E1 !important;
50
+ }
51
+
52
+ /* Bara loading */
53
  .st-emotion-cache-1dp5vir {
54
  background-image: linear-gradient(90deg, rgb(65, 105, 225), rgb(0, 255, 255)) !important;
55
  }
56
 
57
+ /* Bara stanga */
58
+ .st-emotion-cache-vmpjyt {
59
+ background-color: #f5f5f5 !important;
60
+ }
61
+
62
+ /* Select */
63
+ .st-ae,
64
+ .st-az {
65
+ font-family: inherit !important;
66
  }
67
 
68
+ /* File Select */
69
+ .st-emotion-cache-1gulkj5 {
70
+ background-color: #f5f5f5 !important;
71
+ }
72
+
73
+ /* Other fonts */
74
+ [class^="st-emotion-cache-"] {
75
+ font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
76
+ }