Skip to content

@remotion/convert: Improve transcribe UI with model sizes and delete functionality #5451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 21, 2025

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jun 21, 2025

Enhanced the transcribe route's model selection dropdown to provide better user experience and model management capabilities.

Changes Made

  • Dynamic model loading: Replaced hardcoded model list with getAvailableModels() to fetch all available Whisper models
  • Model size display: Each dropdown entry now shows the formatted download size using the existing formatBytes() utility
  • Delete functionality: Added delete buttons for downloaded models within dropdown entries
  • State management: Integrated getLoadedModels() to track which models are downloaded and refresh the list after deletions

Implementation Details

The dropdown now displays:

  • Model name (e.g., "tiny.en", "base", "small")
  • Formatted download size (e.g., "74.1 MB", "141.1 MB", "464.9 MB")
  • Red "Delete" button for models that are already downloaded

The delete functionality uses the existing deleteModel() function and automatically refreshes the loaded models list to keep the UI in sync.

UI/UX Improvements

  • Users can now see model sizes before downloading to make informed decisions
  • Downloaded models can be deleted directly from the selection dropdown
  • No need to navigate to separate sections for model management
  • Maintains existing selection behavior while adding management capabilities

Fixes #5450.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link

vercel bot commented Jun 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2025 7:37am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
remotion ⬜️ Skipped (Inspect) Jun 21, 2025 7:37am

@vercel vercel bot temporarily deployed to Preview – remotion June 21, 2025 07:37 Inactive
@Copilot Copilot AI changed the title [WIP] remotion.dev/transcribe: better ui @remotion/convert: Improve transcribe UI with model sizes and delete functionality Jun 21, 2025
@Copilot Copilot AI requested a review from JonnyBurger June 21, 2025 07:39
Copilot finished work on behalf of JonnyBurger June 21, 2025 07:39
@JonnyBurger JonnyBurger marked this pull request as ready for review June 21, 2025 07:53
@JonnyBurger JonnyBurger merged commit e1f76d2 into main Jun 21, 2025
3 checks passed
@JonnyBurger JonnyBurger deleted the copilot/fix-5450 branch June 21, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remotion.dev/transcribe: better ui
2 participants