docker_mineru / start.sh
marcosremar2's picture
Update with magic-pdf API implementation
ab599b4
raw
history blame contribute delete
283 Bytes
#!/bin/bash
# Start script for Hugging Face Spaces deployment
# Activate the virtual environment
. /opt/mineru_venv/bin/activate
# Set environment variables
export HF_SPACE_ID="${SPACE_ID:-default}"
# Start the FastAPI server
python -m uvicorn api:app --host 0.0.0.0 --port 7860