Ais
commited on
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
echo "📦 Installing
|
4 |
pip install -q --upgrade pip
|
5 |
pip install -q torch transformers accelerate peft bitsandbytes gdown fastapi uvicorn
|
6 |
|
7 |
-
echo "✅ Dependencies installed."
|
8 |
-
|
9 |
echo "📂 Downloading latest adapter from Google Drive..."
|
10 |
python app/download_adapter.py
|
11 |
|
12 |
-
echo "
|
13 |
python -m uvicorn app.main:app --host 0.0.0.0 --port 7860
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
echo "📦 Installing dependencies..."
|
4 |
pip install -q --upgrade pip
|
5 |
pip install -q torch transformers accelerate peft bitsandbytes gdown fastapi uvicorn
|
6 |
|
|
|
|
|
7 |
echo "📂 Downloading latest adapter from Google Drive..."
|
8 |
python app/download_adapter.py
|
9 |
|
10 |
+
echo "🚀 Starting FastAPI server..."
|
11 |
python -m uvicorn app.main:app --host 0.0.0.0 --port 7860
|