Spaces:
Sleeping
Sleeping
Vlad Bastina commited on
Commit ·
8f1554f
1
Parent(s): 239d1e4
style changes
Browse files- streamlit_app.py +0 -8
- style.css +10 -0
streamlit_app.py
CHANGED
|
@@ -67,14 +67,6 @@ def main():
|
|
| 67 |
|
| 68 |
st.write("This demo lets you record your voice, automatically transcribes the audio, and analyzes the emotional tone of your words over time. By generating a histogram of sentiment evolution, it helps uncover how feelings shift throughout a conversation—useful for scenarios like customer calls, where ending on a positive note can make all the difference.")
|
| 69 |
|
| 70 |
-
logo_path = "zega_logo.svg"
|
| 71 |
-
if os.path.exists(logo_path):
|
| 72 |
-
with open(logo_path, "r", encoding="utf-8") as f:
|
| 73 |
-
svg_content = f.read()
|
| 74 |
-
|
| 75 |
-
st.sidebar.markdown(svg_content,unsafe_allow_html=True)
|
| 76 |
-
else:
|
| 77 |
-
st.sidebar.warning("Logo zega_logo.PNG not found.")
|
| 78 |
if "messages" not in st.session_state:
|
| 79 |
st.session_state.messages = []
|
| 80 |
|
|
|
|
| 67 |
|
| 68 |
st.write("This demo lets you record your voice, automatically transcribes the audio, and analyzes the emotional tone of your words over time. By generating a histogram of sentiment evolution, it helps uncover how feelings shift throughout a conversation—useful for scenarios like customer calls, where ending on a positive note can make all the difference.")
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
if "messages" not in st.session_state:
|
| 71 |
st.session_state.messages = []
|
| 72 |
|
style.css
CHANGED
|
@@ -74,3 +74,13 @@ button:focus,
|
|
| 74 |
[class^="st-emotion-cache-"] {
|
| 75 |
font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
|
| 76 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
[class^="st-emotion-cache-"] {
|
| 75 |
font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
|
| 76 |
}
|
| 77 |
+
|
| 78 |
+
::-webkit-scrollbar {
|
| 79 |
+
display: none;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
/* Hide scrollbar for IE, Edge and Firefox */
|
| 83 |
+
body {
|
| 84 |
+
-ms-overflow-style: none; /* IE and Edge */
|
| 85 |
+
scrollbar-width: none; /* Firefox */
|
| 86 |
+
}
|