pentarosarium commited on
Commit
340bdfd
·
1 Parent(s): a4161cb

more modal confg token

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -25,17 +25,13 @@ def init_modal():
25
 
26
  def main():
27
  st.title("Financial Statement Analyzer")
28
-
29
- # Show environment info
30
- if st.checkbox("Show Environment Info"):
31
- st.write("Environment Variables:")
32
- st.write({k: "***" if k == "MODAL_TOKEN" else v
33
- for k, v in os.environ.items()})
34
-
35
  # Initialize Modal
36
  if not init_modal():
37
  return
38
 
 
 
39
  uploaded_files = st.file_uploader(
40
  "Choose PDF files",
41
  type="pdf",
 
25
 
26
  def main():
27
  st.title("Financial Statement Analyzer")
28
+
 
 
 
 
 
 
29
  # Initialize Modal
30
  if not init_modal():
31
  return
32
 
33
+ modal.config.token = os.environ.get('MODAL_TOKEN')
34
+
35
  uploaded_files = st.file_uploader(
36
  "Choose PDF files",
37
  type="pdf",