caerulex commited on
Commit
cd93036
·
verified ·
1 Parent(s): 3281322

Added supposed fix for the streamlit upload issue.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +9 -0
src/streamlit_app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import streamlit as st
2
  import tempfile
3
  from pathlib import Path
@@ -8,6 +10,13 @@ from accounting_program import generate_report
8
  from openpyxl.styles import Font, PatternFill
9
  import os
10
 
 
 
 
 
 
 
 
11
  # Password protection
12
  def check_password():
13
  """Returns `True` if the user has entered the correct password."""
 
1
+ # (c) Timeless Wind Publishing // Proprietary Information
2
+
3
  import streamlit as st
4
  import tempfile
5
  from pathlib import Path
 
10
  from openpyxl.styles import Font, PatternFill
11
  import os
12
 
13
+ # Must be the first Streamlit command
14
+ st.set_page_config(
15
+ page_title="TWP Accounting Report Generator",
16
+ page_icon="📊",
17
+ layout="wide"
18
+ )
19
+
20
  # Password protection
21
  def check_password():
22
  """Returns `True` if the user has entered the correct password."""