lifedebugger's picture
Deploy files from GitHub repository with LFS
aaffeff
#!/bin/bash
# Exit jika ada error
set -e
echo "=== Install Python dependencies ==="
# pip uninstall pytorch
# pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
# pip install -r requirements.txt
# pip install -r requirements-rag.txt
echo "=== Run FastAPI server ==="
# uvicorn app.main:app --host 0.0.0.0 --port 7860 --reload
python -m alembic upgrade head
uvicorn main:app --host 0.0.0.0 --port 8000