sonjil commited on
Commit
04787ce
·
verified ·
1 Parent(s): b9c1731

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,11 +1,10 @@
1
  import os
2
  import streamlit as st
3
- from dotenv import load_dotenv
4
  from notion_client import Client
5
 
6
- load_dotenv()
7
 
8
- notion = Client(auth=os.environ["NOTION_API_KEY"])
 
9
 
10
  page_id = '09f9593420644b33a610079ff12458e0'
11
 
 
1
  import os
2
  import streamlit as st
 
3
  from notion_client import Client
4
 
 
5
 
6
+
7
+ notion = Client(auth=os.environ.get("NOTION_API_KEY"))
8
 
9
  page_id = '09f9593420644b33a610079ff12458e0'
10