panel / app.py
3v324v23's picture
update
dfbe936
Raw History Blame Contribute Delete
254 Bytes
import subprocess
import panel as pn
# Run the bash script to start nginx
subprocess.run(['bash', '/tmp/start.sh'], check=True)
# Create a simple Panel app
text = pn.pane.Markdown("## WebSocket Example with Panel")
# Display the Panel app
text.show()