BacSense-API / start.sh
joytheslothh's picture
Fix deployment: add startup script, env config, routing fixes, and reorganize classifier service
0cc2bd2
raw
history blame contribute delete
366 Bytes
#!/bin/bash
# Startup script for Hugging Face Spaces
echo "🦠 Starting BacSense v2 API..."
echo "Current directory: $(pwd)"
echo "Contents:"
ls -la
echo ""
echo "Checking bacsense_v2_package:"
ls -la bacsense_v2_package/ || echo "Directory not found!"
echo ""
echo "Starting uvicorn server..."
exec uvicorn classifier_service.api:app --host 0.0.0.0 --port 7860