evoneuralIn3D-app / entrypoint.sh
manav0506's picture
Sync deps: Dockerfile system deps + ffmpeg, single pip flow
2b9f9cb
Raw
History Blame Contribute Delete
457 Bytes
#!/bin/sh
# Start virtual display for TripoSR texture baking (ModernGL), then run Streamlit.
# Avoids xvfb-run which can hang or require xauth in some environments.
set -e
export DISPLAY=:99
# Start Xvfb in background; use -screen 0 so we have a valid display
Xvfb :99 -screen 0 1024x768x24 -ac &
XVFB_PID=$!
# Give Xvfb a moment to start
sleep 2
# Run Streamlit (replaces this process)
exec streamlit run app.py --server.port=7860 --server.address=0.0.0.0