You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating your @dataspyre hello-world app in a JupyterNotebook cell raises an error, @adamhajari :
Same exact code outside of jupyter works just fine. 😮
from spyre import server
class SimpleApp(server.App):
title = "Simple App"
inputs = [{
"type": "text",
"key": "words",
"label": "write words here",
"value": "hello world",
"action_id": "simple_html_output"
}]
outputs = [{
"type": "html",
"id": "simple_html_output"
}]
def getHTML(self, params):
words = params["words"]
return "Here's what you wrote in the textbox: <b>%s</b>" % words
app = SimpleApp()
app.launch()
Creating your @dataspyre hello-world app in a JupyterNotebook cell raises an error, @adamhajari :
Same exact code outside of jupyter works just fine. 😮
error:
Can you help me figure out how to overcome this? Thanks!
The text was updated successfully, but these errors were encountered: