Vlad Bastina commited on
Commit ·
4fe7b93
1
Parent(s): d935ae1
description style and link
Browse files- app.py +19 -2
- style.css +32 -0
- zega_logo.svg +15 -0
app.py
CHANGED
|
@@ -31,6 +31,11 @@ def load_resources():
|
|
| 31 |
return client
|
| 32 |
|
| 33 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
load_css("style.css")
|
| 35 |
|
| 36 |
google_credentials_json = json.dumps(dict(st.secrets["GOOGLE_APPLICATION_CREDENTIALS"]))
|
|
@@ -42,9 +47,21 @@ if __name__ == "__main__":
|
|
| 42 |
# Set the environment variable to point to the temporary file
|
| 43 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = temp_file
|
| 44 |
st.title("🎥 AI-Powered Meeting Report Generator")
|
| 45 |
-
st.
|
| 46 |
-
st.sidebar.link_button('Default video' , "https://drive.google.com/file/d/1SOPozlGu3G_MGObIToc7zRdG9JfXPc4O/view?usp=sharing")
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
api_key = st.secrets['GOOGLE_API_KEY']
|
| 49 |
|
| 50 |
client = load_resources()
|
|
|
|
| 31 |
return client
|
| 32 |
|
| 33 |
if __name__ == "__main__":
|
| 34 |
+
st.markdown("""
|
| 35 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 36 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 37 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap" rel="stylesheet">
|
| 38 |
+
""", unsafe_allow_html=True)
|
| 39 |
load_css("style.css")
|
| 40 |
|
| 41 |
google_credentials_json = json.dumps(dict(st.secrets["GOOGLE_APPLICATION_CREDENTIALS"]))
|
|
|
|
| 47 |
# Set the environment variable to point to the temporary file
|
| 48 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = temp_file
|
| 49 |
st.title("🎥 AI-Powered Meeting Report Generator")
|
| 50 |
+
st.write('''AI-Powered Meeting Report Generator is an intelligent tool that automatically analyzes video meetings and generates clear, concise summaries. Designed to save time and boost productivity, it captures key information—so your team can stay aligned without sifting through hours of recordings.
|
|
|
|
| 51 |
|
| 52 |
+
If you would like to test without your own meeting video, we can showcase its capabilities based on this sample video of a meeting, or you could upload your own video.''')
|
| 53 |
+
logo_path = "zega_logo.svg"
|
| 54 |
+
if os.path.exists(logo_path):
|
| 55 |
+
with open(logo_path, "r", encoding="utf-8") as f:
|
| 56 |
+
svg_content = f.read()
|
| 57 |
+
|
| 58 |
+
st.sidebar.markdown(svg_content,unsafe_allow_html=True)
|
| 59 |
+
else:
|
| 60 |
+
st.sidebar.warning("Logo zega_logo.PNG not found.")
|
| 61 |
+
st.markdown(
|
| 62 |
+
'<a href="https://drive.google.com/file/d/1SOPozlGu3G_MGObIToc7zRdG9JfXPc4O/view?usp=sharing" target="_blank">This is the default video which you can test with here</a>',
|
| 63 |
+
unsafe_allow_html=True
|
| 64 |
+
)
|
| 65 |
api_key = st.secrets['GOOGLE_API_KEY']
|
| 66 |
|
| 67 |
client = load_resources()
|
style.css
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
}
|
zega_logo.svg
ADDED
|
|