Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ streams = {
|
|
215 |
}
|
216 |
|
217 |
# Function to run on button click
|
218 |
-
def update_streams():
|
219 |
speckle_token = os.environ.get("SPECKLE_TOKEN")
|
220 |
notion_token = os.environ.get("NOTION_TOKEN")
|
221 |
|
@@ -236,7 +236,7 @@ def update_streams():
|
|
236 |
iface = gr.Interface(
|
237 |
fn=update_streams,
|
238 |
inputs=gr.components.Button(value="Update Streams"),
|
239 |
-
|
240 |
)
|
241 |
|
242 |
# Launch the app
|
|
|
215 |
}
|
216 |
|
217 |
# Function to run on button click
|
218 |
+
def update_streams(dummy):
|
219 |
speckle_token = os.environ.get("SPECKLE_TOKEN")
|
220 |
notion_token = os.environ.get("NOTION_TOKEN")
|
221 |
|
|
|
236 |
iface = gr.Interface(
|
237 |
fn=update_streams,
|
238 |
inputs=gr.components.Button(value="Update Streams"),
|
239 |
+
|
240 |
)
|
241 |
|
242 |
# Launch the app
|