geeksiddhant commited on
Commit
328a18a
·
verified ·
1 Parent(s): af565ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,12 +1,9 @@
1
  import os
2
- from dotenv import load_dotenv
3
  from notion_client import Client
4
  import streamlit as st
5
 
6
- load_dotenv()
7
-
8
  # 5. Authenticate and Connect to Notion (use notion integration key)
9
- notion = Client(auth=os.getenv("NOTION_API_KEY"))
10
 
11
  page_id = '232b178364ed4fa4b15764dbc0d1e9dd'
12
 
 
1
  import os
 
2
  from notion_client import Client
3
  import streamlit as st
4
 
 
 
5
  # 5. Authenticate and Connect to Notion (use notion integration key)
6
+ notion = Client(auth=os.environ.get("NOTION_API_KEY"))
7
 
8
  page_id = '232b178364ed4fa4b15764dbc0d1e9dd'
9