Spaces:
Running
Running
Create setup.sh
Browse files
setup.sh
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set -x #echo on
|
2 |
+
|
3 |
+
# Install Git LFS
|
4 |
+
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
|
5 |
+
sudo apt-get install git-lfs
|
6 |
+
git lfs install
|
7 |
+
|
8 |
+
# Create Streamlit configuration
|
9 |
+
mkdir -p ~/.streamlit/
|
10 |
+
echo "\
|
11 |
+
[server]\n\
|
12 |
+
headless = true\n\
|
13 |
+
port = $PORT\n\
|
14 |
+
enableCORS = false\n\
|
15 |
+
\n\
|
16 |
+
" > ~/.streamlit/config.toml
|