Create streamlit_call.py

This commit is contained in:
op07n 2020-01-19 00:06:39 +01:00 committed by GitHub
parent f64f7df0f1
commit 246c81cd0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
from subprocess import Popen
def load_jupyter_server_extension(nbapp):
"""serve the bokeh-app directory with bokeh server"""
Popen(["streamlit", "st_runner.py", "apps", "--server.enableCORS=False", "--browser.gatherUsageStats=False"])