Download scripts/demo_hackathon.sh from arminfg/biosim: direct link, hf CLI and curl.
- Browser
- Download file 780 Bytes
-
https://huggingface.co/spaces/arminfg/biosim/resolve/main/scripts/demo_hackathon.sh
- Command line
-
hf download hf://spaces/arminfg/biosim/scripts/demo_hackathon.sh
-
curl -L -o demo_hackathon.sh https://huggingface.co/spaces/arminfg/biosim/resolve/main/scripts/demo_hackathon.sh
780 Bytes
| # Hackathon live demo — start API + remind steps. | |
| # Run from repo root: ./scripts/demo_hackathon.sh | |
| set -e | |
| cd "$(dirname "$0")/.." | |
| echo "=== SimLab Hackathon Demo ===" | |
| echo "" | |
| echo "1. Start the API (leave this running):" | |
| echo " uvicorn server.app:app --host 0.0.0.0 --port 8000" | |
| echo "" | |
| echo "2. In another terminal, start the UI:" | |
| echo " cd v0ap && pnpm dev" | |
| echo "" | |
| echo "3. Open http://localhost:3000" | |
| echo " - Training: /training (set 500 episodes, Start Training, show chart + comparison)" | |
| echo " - Lab run: /workflows/pcr-amplification (Run Naive → Run with AI Agent)" | |
| echo "" | |
| read -p "Start API in this terminal now? [y/N] " -n 1 -r | |
| echo | |
| if [[ $REPLY =~ ^[Yy]$ ]]; then | |
| exec uvicorn server.app:app --host 0.0.0.0 --port 8000 | |
| fi | |