DocuMind_hf / run.sh
ktejeshnaidu's picture
Update run.sh
dc528a6 verified
raw
history blame contribute delete
361 Bytes
#!/bin/bash
# Start FastAPI backend in background
uvicorn main:app --host 0.0.0.0 --port 8000 &
# Start Streamlit — disable CORS/XSRF for HF proxy compatibility
streamlit run app.py \
--server.port 7860 \
--server.address 0.0.0.0 \
--server.headless true \
--server.enableCORS false \
--server.enableXsrfProtection false \
--logger.level=warning