Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@
|
|
3 |
|
4 |
# lone github repro & add to sys paths
|
5 |
import gradio as gr
|
6 |
-
from huggingface_hub import secrets
|
7 |
import os
|
8 |
import sys
|
9 |
import time
|
@@ -247,7 +246,7 @@ def reset_database(notion, database_id):
|
|
247 |
print(f"Reset of database {database_id} completed.")
|
248 |
|
249 |
|
250 |
-
notion = Client(auth=
|
251 |
guiding_db_an = "1dafd962f861406d928bbdf109b9bfe4"
|
252 |
land_use_abbr = "3b0e681e922a41409b6a13c11105c56a"
|
253 |
target_db = "ec2a636f079d4d7686f94901b6238242"
|
@@ -262,9 +261,6 @@ async def update_table(request: Request):
|
|
262 |
|
263 |
continueFlag = True
|
264 |
# Accessing nested data in the 'event' object
|
265 |
-
|
266 |
-
speckle_token = os.environ.get("SPECKLE_TOKEN")
|
267 |
-
notion_token = os.environ.get("NOTION_TOKEN")
|
268 |
|
269 |
if continueFlag:
|
270 |
name_mapper = {}
|
|
|
3 |
|
4 |
# lone github repro & add to sys paths
|
5 |
import gradio as gr
|
|
|
6 |
import os
|
7 |
import sys
|
8 |
import time
|
|
|
246 |
print(f"Reset of database {database_id} completed.")
|
247 |
|
248 |
|
249 |
+
notion = Client(auth=os.environ.get("SPECKLE_TOKEN"))
|
250 |
guiding_db_an = "1dafd962f861406d928bbdf109b9bfe4"
|
251 |
land_use_abbr = "3b0e681e922a41409b6a13c11105c56a"
|
252 |
target_db = "ec2a636f079d4d7686f94901b6238242"
|
|
|
261 |
|
262 |
continueFlag = True
|
263 |
# Accessing nested data in the 'event' object
|
|
|
|
|
|
|
264 |
|
265 |
if continueFlag:
|
266 |
name_mapper = {}
|