Spaces:
Running
Running
Vlad Bastina commited on
Commit ·
7b776ef
1
Parent(s): 9fe4535
delete image and hide scrollbar
Browse files
app.py
CHANGED
|
@@ -59,15 +59,7 @@ except Exception as e:
|
|
| 59 |
st.stop()
|
| 60 |
|
| 61 |
|
| 62 |
-
|
| 63 |
-
if os.path.exists(logo_path):
|
| 64 |
-
with open(logo_path, "r", encoding="utf-8") as f:
|
| 65 |
-
svg_content = f.read()
|
| 66 |
-
|
| 67 |
-
st.sidebar.markdown(svg_content,unsafe_allow_html=True)
|
| 68 |
-
else:
|
| 69 |
-
st.sidebar.warning("Logo zega_logo.PNG not found.")
|
| 70 |
-
# --- Function Definitions (Keep analyze_audio, detailed_sentiment_prompt, plot_sentiment_timeline as before) ---
|
| 71 |
|
| 72 |
def detailed_sentiment_prompt(is_customer_support=None, customer_focus=False):
|
| 73 |
"""Generates the prompt for Gemini based on context."""
|
|
|
|
| 59 |
st.stop()
|
| 60 |
|
| 61 |
|
| 62 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
def detailed_sentiment_prompt(is_customer_support=None, customer_focus=False):
|
| 65 |
"""Generates the prompt for Gemini based on context."""
|
style.css
CHANGED
|
@@ -70,7 +70,21 @@ button:focus,
|
|
| 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 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
background-color: #f5f5f5 !important;
|
| 71 |
}
|
| 72 |
|
| 73 |
+
.st-emotion-cache-t1wise {
|
| 74 |
+
padding: 0 54px;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
/* Other fonts */
|
| 78 |
[class^="st-emotion-cache-"] {
|
| 79 |
font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
|
| 80 |
}
|
| 81 |
+
|
| 82 |
+
::-webkit-scrollbar {
|
| 83 |
+
display: none;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
/* Hide scrollbar for IE, Edge and Firefox */
|
| 87 |
+
body {
|
| 88 |
+
-ms-overflow-style: none; /* IE and Edge */
|
| 89 |
+
scrollbar-width: none; /* Firefox */
|
| 90 |
+
}
|