Vlad Bastina commited on
Commit
7a1190e
·
1 Parent(s): a932b06
Files changed (2) hide show
  1. app.py +0 -12
  2. style.css +10 -0
app.py CHANGED
@@ -176,18 +176,6 @@ st.title("📄 TXT Document Translator")
176
  # Configure Gemini (attempt on each run, handles secret check)
177
  gemini_configured = configure_gemini()
178
 
179
- # --- Sidebar ---
180
- logo_path = "zega_logo.svg"
181
- if os.path.exists(logo_path):
182
- try:
183
- with open(logo_path, "r", encoding="utf-8") as f:
184
- svg_content = f.read()
185
- st.sidebar.markdown(svg_content, unsafe_allow_html=True)
186
- except Exception as e:
187
- st.sidebar.warning(f"Could not load logo {logo_path}: {e}")
188
- else:
189
- st.sidebar.warning("Logo zega_logo.svg not found.")
190
-
191
  st.sidebar.markdown("---") # Separator
192
 
193
  # --- File Input Options ---
 
176
  # Configure Gemini (attempt on each run, handles secret check)
177
  gemini_configured = configure_gemini()
178
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  st.sidebar.markdown("---") # Separator
180
 
181
  # --- File Input Options ---
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
+ }