File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11## Sample
22
3- This is a nipanel example that displays an interactive Streamlit app and update values.
3+ This is a nipanel example that displays an interactive Streamlit app and updates its values.
44
55### Feature
66
Original file line number Diff line number Diff line change 11"""This example demonstrates how to open/update a Streamlit application using nipanel package."""
22
3- import os
3+ import pathlib
44
55import nipanel
66
7- script_path = os . path . dirname ( os . path . abspath ( __file__ ) )
8- panel_script_path = os . path . join (script_path , "sample_panel.py" )
7+ script_path = pathlib . Path ( __file__ )
8+ panel_script_path = str (script_path . with_name ( "sample_panel.py" ) )
99
1010panel = nipanel .StreamlitPanel (
1111 panel_id = "sample_panel" ,
You can’t perform that action at this time.
0 commit comments