quantumbit commited on
Commit
c9b494d
·
verified ·
1 Parent(s): 931fa2e

Delete start.sh

Browse files
Files changed (1) hide show
  1. start.sh +0 -26
start.sh DELETED
@@ -1,26 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Startup script for Invoice Information Extractor API
4
- # For Hugging Face Spaces or production deployment
5
-
6
- echo "🚀 Invoice Information Extractor - Starting..."
7
- echo "=============================================="
8
-
9
- # Check Python version
10
- python_version=$(python --version 2>&1)
11
- echo "Python: $python_version"
12
-
13
- # Check CUDA availability
14
- if command -v nvidia-smi &> /dev/null; then
15
- echo "GPU: Available"
16
- nvidia-smi --query-gpu=name,memory.total --format=csv,noheader
17
- else
18
- echo "⚠️ WARNING: No GPU detected. This application requires GPU!"
19
- fi
20
-
21
- echo ""
22
- echo "Starting FastAPI server..."
23
- echo "=============================================="
24
-
25
- # Start the application
26
- python app.py