parent
2fc200ad39
commit
b0f462a4ab
2
Procfile
2
Procfile
|
@ -1 +1 @@
|
||||||
web: streamlit run beta_distribution.py
|
web: sh setup.sh && streamlit run beta_distribution.py
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Modified from
|
||||||
|
# https://github.com/MaartenGr/streamlit_guide/blob/master/Procfile
|
||||||
|
# and
|
||||||
|
# https://github.com/MaartenGr/streamlit_guide/blob/master/setup.sh
|
||||||
|
|
||||||
|
mkdir -p ~/.streamlit/
|
||||||
|
|
||||||
|
echo "\
|
||||||
|
[server]\n\
|
||||||
|
headless = true\n\
|
||||||
|
enableCORS=false\n\
|
||||||
|
port = $PORT\n\
|
||||||
|
" > ~/.streamlit/config.toml
|
Loading…
Reference in New Issue