Spaces:
Sleeping
Sleeping
Create build.sh
Browse files
build.sh
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
echo "Installing system dependencies..."
|
| 3 |
+
apt-get update && apt-get install -y $(cat packages.txt)
|
| 4 |
+
|
| 5 |
+
echo "Installing Python requirements..."
|
| 6 |
+
pip install -r requirements.txt
|
| 7 |
+
|
| 8 |
+
echo "Building C++ extension..."
|
| 9 |
+
python -m pip install -e .
|
| 10 |
+
|
| 11 |
+
echo "Installation complete. Starting Streamlit..."
|
| 12 |
+
streamlit run app.py
|