serJD commited on
Commit
86fe755
·
1 Parent(s): b02baea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- outputs="text"
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