We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure if this should reside in Panel or Lumen.
I've tried as a ChatMessage:
import panel as pn import lumen as lm import yaml pn.extension() def callback(contents, user, instance): with open("test.yaml", "r") as f: spec = yaml.safe_load(f) dashboard = lm.Dashboard(spec) return tabs = pn.Tabs(("Chat", pn.chat.ChatInterface(callback=callback))) tabs.servable()
Tabs:
import panel as pn import lumen as lm import yaml pn.extension() def callback(contents, user, instance): with open("test.yaml", "r") as f: spec = yaml.safe_load(f) dashboard = lm.Dashboard(spec) tabs.append(("Dashboard", dashboard)) tabs = pn.Tabs(("Chat", pn.chat.ChatInterface(callback=callback))) tabs.servable()
It just displays an empty dashboard
I suspect it might be lazily loading and not trigger because I tried to extract the layout, but it crashes with list index out of range.
import panel as pn import lumen as lm import yaml pn.extension() def callback(contents, user, instance): with open("test.yaml", "r") as f: spec = yaml.safe_load(f) dashboard = lm.Dashboard(spec).layouts[0] return dashboard tabs = pn.Tabs(("Chat", pn.chat.ChatInterface(callback=callback))) tabs.servable()
test.yaml
sources: penguin_source: type: file tables: penguin_table: https://datasets.holoviz.org/penguins/v1/penguins.csv layouts: - title: Penguins source: penguin_source views: - type: table table: penguin_table
The text was updated successfully, but these errors were encountered:
Actually this doesn't work:
import panel as pn import lumen as lm import yaml pn.extension() dashboard = lm.Dashboard("test.yaml") dashboard.servable()
Sorry, something went wrong.
The fix was adding these extensions: pn.extension("tabulator", notifications=True)
pn.extension("tabulator", notifications=True)
Closed by holoviz/panel#6005
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Not sure if this should reside in Panel or Lumen.
I've tried as a ChatMessage:
Tabs:
It just displays an empty dashboard
I suspect it might be lazily loading and not trigger because I tried to extract the layout, but it crashes with list index out of range.
test.yaml
The text was updated successfully, but these errors were encountered: