Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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 |
|