Spaces:
Runtime error
Runtime error
Update app.py
Browse files214 unmodified lines21521621721821922022114 unmodified lines236237238239240241242214 unmodified lines}# Function to run on button clickdef update_streams():speckle_token = os.environ.get("SPECKLE_TOKEN")notion_token = os.environ.get("NOTION_TOKEN")14 unmodified linesiface = gr.Interface(fn=update_streams,inputs=gr.components.Button(value="Update Streams"),outputs="text")# Launch the app214 unmodified lines21521621721821922022114 unmodified lines236237238239240241242214 unmodified lines}# Function to run on button clickdef update_streams(dummy):speckle_token = os.environ.get("SPECKLE_TOKEN")notion_token = os.environ.get("NOTION_TOKEN")14 unmodified linesiface = gr.Interface(fn=update_streams,inputs=gr.components.Button(value="Update Streams"),)# Launch the app
app.py+2-2