storyboard-tui / scripts /modal_setup.sh
David Tang
Add Modal MiniCPM inference backend
924ed7d
Raw
History Blame Contribute Delete
305 Bytes
#!/usr/bin/env bash
set -euo pipefail
if [[ -z "${STORY_FORGE_API_KEY:-}" ]]; then
echo "Set STORY_FORGE_API_KEY before running this script." >&2
exit 1
fi
modal secret create story-forge-api \
STORY_FORGE_API_KEY="${STORY_FORGE_API_KEY}" \
--force
echo "Created Modal secret: story-forge-api"