Repository navigation
feat(apps): add whisper-fn, a scale-to-zero STACKIT Functions transcription demo - #35
Open
KonstantinMKloster wants to merge 2 commits into
Open
KonstantinMKloster wants to merge 2 commits into
KonstantinMKloster wants to merge 2 commits into
Conversation
…iption demo Rebuilds an always-on VM video-transcription demo as a STACKIT Function: downloads a video from S3, transcribes it with openai-whisper, writes the transcript back to S3, and scales to zero when idle instead of billing 24/7.
…ually runnable The fake imageio_ffmpeg path was a non-existent directory already named "ffmpeg", so handler.py's self-symlink step raised FileNotFoundError on every run. Point the stub at a real temp file instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apps/whisper-fn, a STACKIT Function that transcribes a video from an S3 (Object Storage) bucket withopenai-whisperand writes the transcript back to the same bucket, then scales to zero — as an alternative to running an always-on VM for the same demo.Dockerfile(not Cloud Native Buildpacks) — seeapps/whisper-fn/DECISIONS.mdfor why, along with the model-size (small, notlarge-v3) and plan/concurrency choices.Test plan
docker build+ local smoke test (GET /health,POST /transcribe) against a real S3 bucketpython3 test_handler_local.py(routing/upload logic test, dependencies stubbed, no Docker needed)python3 .github/scripts/check_readme_tags.pypassespython3 .github/scripts/generate_agents_md.pyrun,AGENTS.mdupdated and included in this PR