Spaces:
Runtime error
Runtime error
Commit History
-
fix: sync frontend API types
Verified signaturec410e76 -
feat: add normal mode demo clips
Verified signatured5b9234 -
feat: add interactive HF demo clips
Verified signaturededaa09 -
fix: handle pixel face boxes in crop fallback
Verified signature1a29e06 -
fix: keep faces centered in HRE crops
Verified signatureeb1790e -
fix: trigger direct clip downloads
Verified signatured95b7e9 -
fix: tune HRE crop and caption timing
Verified signature5543229 -
fix: keep people visible in HRE clips
Verified signature65a5f35
-
fix: improve HRE spatial editing
Verified signaturee82c4ed -
fix: include Next static assets in space image
Verified signature936060a -
fix: add per-segment HRE edit plans
Verified signaturec511df7 -
Fix Space nginx service startup
JakgritBe896716 -
Fix backend Python path in Space
JakgritB89e9008 -
Fix Space build Node version
JakgritB74bc656 -
Deploy safe hackathon demo with proxy
JakgritBe72b932 -
Deploy safe hackathon demo
JakgritB102f4d2
-
feat(editor): subtitle-first editor + AI subtitle pipeline
JakgritB +1: Claude Opus 4.7Pivot the editor away from drag-trim and toward full subtitle control, because subtitle is the differentiator for short-form creators and the multimodal-AI pipeline behind subtitles is what Track 3 actually scores. Backend (multimodal AI surface): - schemas.py adds SubtitleCue + SkipRange models. ClipCandidate + ClipPatch get optional subtitle_cues and skip_ranges fields. Older clients keep working — fall back to subtitle_text auto-distribution when subtitle_cues is absent. - subtitles.write_srt_from_cues() honors per-cue timing supplied by the user instead of auto-spacing. - clips.py renders with ffmpeg concat filter when skip_ranges is present, splicing out the requested middle ranges and concatenating the keep-segments. - highlight.QwenHighlightDetector grows polish_subtitles() and translate_subtitles() — Qwen2.5 in production, deterministic heuristic in demo so the UI flow works today. - transcription.WhisperTranscriber grows align_words() — Whisper word-level ti…89e1dc4
-
fix(editor): real-time drag via draft state + range-locked playback
JakgritB +1: Claude Opus 4.7The previous editor fired an API patch on every mousemove during V1 trim/move and caption drag. The result was UI flicker, race conditions, and the impression that the editor "didn't work." Real-time editing now works through a clean two-state model: - trimDraft: { start_seconds, end_seconds } | null - captionDraft: { x, y } | null - Effective values (effStart/effEnd/effCaptionStyle) prefer drafts when present, fall back to committed clip/captionStyle. Drag flow: - mousedown captures initial state and registers window mousemove/mouseup. - mousemove → setTrimDraft (or setCaptionDraft) — local React state only, no network. Sub-millisecond updates with no thrashing. - mouseup → onTrimCommit (or onCaptionCommit) fires exactly one onPatch (or one onCaptionStyleChange), then clears the draft. Video playback is now range-locked: - On clip change: video.load() + seek to clip.start_seconds. - timeupdate listener: pauses + rewinds to effStart when currentTime reaches effEnd - 0.05; a…6f3ea5d -
fix(editor): kill empty band + first-frame preview + polish
JakgritB +1: Claude Opus 4.7Layout repair: - Empty band above the editor topbar was caused by .editor-topbar being position:sticky;top:72px while inside .editor-shell.nle (overflow:hidden, no scroll context). The 72px offset rendered as a 72px gap. Override to position:relative;top:auto in NLE mode. - Compact AppHeader (56px) when in editor view; hide subtitle line. Reclaim ~50px of vertical real estate for the timeline. Preview stability: - Add playsInline + preload=metadata + muted to the preview <video>. - video.load() + currentTime=0.05 on clip change forces the first frame to render so the canvas isn't blank before user interaction. Trim handles: - Widen drag handles from 10px to 14px and bump z-index to 4. - Switch to amber/black for higher contrast against the indigo clip. - Hover scales the handle 1.06x for clearer affordance. AI Assistant copy: - Subtitles were redundant ("ทำใหม่" / "—"). Replace with platform- specific guidance ("Best for Reels & Shorts", "Best for TikTok storytelling")…6af4843 -
feat(frontend): rewrite editor as Premiere-style NLE + fix card overflow
JakgritB +1: Claude Opus 4.7Replace the two-column editor with a 4-panel NLE shell that frames the AI as if it were operating Premiere Pro on the user's behalf: - Media Bin (left): all clips in the job, click to switch the editor target - Preview Stage (center top): video + draggable caption overlay positionable anywhere on the canvas via drag (captionStyle.x/y) - Timeline (center bottom): ruler with playhead, V1 with drag-to-trim edge handles + drag-to-move body, T1 caption blocks (clickable to select), A1 deterministic faux-waveform - AI Assistant (right top): clip.reason as the AI's explanation + quick actions (regenerate, tighten to 30s, fit to 60s, delete) - Inspector (right bottom): score/status/source/model + active cue textarea + caption style controls Dashboard fix: split .clip-actions into a primary CTA row + flex-wrap icon row so action buttons no longer overflow the card on narrow grids. .clip-grid bumped to minmax(280px, 1fr). NLE translation keys added across all 5 languages (en/th/ja/z…f9d069e -
feat(i18n): polish JA/ZH/KO translations for natural phrasing
JakgritB +1: Claude Opus 4.7Replace stilted machine-style phrasings across Japanese, Chinese, and Korean with idiomatic equivalents native speakers would actually use. Examples: "ダッシュボードへ戻る" -> "ホームに戻る", "返回仪表盘" -> "返回主界面", "검사 패널" -> "상세 정보", trim labels normalized to en-dash minus signs, and various awkward terms simplified. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>76e8eb8
-
feat(frontend): full UI redesign + fix editor navigation bug
JakgritB +1: Claude Sonnet 4.6Design: - Dark-first design system with indigo primary, amber score badges - fadeInUp animation on cards, shimmer on progress bar - Hover effects: clip cards lift + scale, buttons brighten/shrink on active - Explicit transitions (150-200ms) on all interactive elements - Sidebar layout (320px fixed) + scrollable main column - Editor page: sticky topbar + 60/40 video/controls split Bug fix: - Replace editorClip-derived routing with explicit view state (view: 'dashboard' | 'editor') — eliminates race condition that prevented editor from opening - Remove problematic useEffect that reset editorClipId Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>fb5014d -
fix(hf-space): replace full app with minimal landing page
JakgritB +1: Claude Sonnet 4.6HF Space now shows a branded landing page only — no live demo, no app routes exposed. The actual app stays on localhost/AMD Cloud. Reverts main.py SPA catch-all added in previous commits. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8e8e9d6 -
fix(hf-space): fix static dir path for SPA catch-all route
JakgritB +1: Claude Sonnet 4.6Path(__file__).parent.parent resolves to /app in the container (/app/app/main.py -> /app/app -> /app), so /app/static is found correctly and the React SPA catch-all route gets registered. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>cf17161 -
fix(hf-space): add HF Spaces config and root Dockerfile
JakgritB +1: Claude Sonnet 4.6- Add YAML frontmatter to README.md (sdk: docker) so HF Space recognises the repo as a Docker-based Space - Add root Dockerfile: multi-stage build that compiles React with VITE_API_BASE_URL="" then runs FastAPI on port 7860 (HF default) - FastAPI now serves the built React SPA as a catch-all when /app/static/ exists, keeping dev setup unchanged Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>f066cd2 -
feat(backend): implement Qwen2-VL visual analysis with ROCm support
JakgritB +1: Claude Sonnet 4.6- QwenVisualAnalyzer now samples 4 frames per clip via ffmpeg and scores visual engagement quality using Qwen2-VL-7B on AMD ROCm - Demo mode returns annotated clips with realistic visual notes - Production mode loads Qwen2-VL with bfloat16 and device_map=auto - Graceful per-clip fallback: analysis_failed metadata on exception - Add Pillow and qwen-vl-utils to [ai] extras in pyproject.toml Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>70fbcf2 -
ci: add GitHub Actions workflow to sync main branch to Hugging Face Space
JakgritB +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>947afb4
-
feat(frontend): redesign editor workspace controls
JakgritBc481310 -
fix(backend): raise burned subtitle placement
JakgritB08d2fa9 -
fix(frontend): polish locale controls and editor layout
JakgritBf585352 -
fix(backend): localize demo highlight text
JakgritB6eb98ab -
fix(frontend): complete locale dictionaries
JakgritBFill Thai, Japanese, Chinese, and Korean UI translations for all frontend labels and localize primary-language option labels to avoid mixed-language screens.caa2f69 -
feat(frontend): redesign product demo workspace
JakgritBAdd a polished responsive dashboard, light/dark mode, multilingual UI, richer profile controls, clip count selection, improved clip cards, and a full clip editor view.461d333 -
feat(backend): enrich clipping pipeline metadata
JakgritBAdd channel profile description fields, per-job progress metadata, clip count support, clip-by-clip render progress, and shorter timed subtitle cues.5dadf47 -
docs: add hackathon submission package
JakgritBAdd lablab submission copy, demo recording script, pitch deck outline, build-in-public drafts, AMD credit runbook, and a cover artwork asset. Also ignore local Hugging Face auth/cache folders.00b7145 -
docs: shorten Space metadata description
JakgritBKeep the Hugging Face Space short_description under the 60 character YAML metadata limit.3a2813c -
docs: add static Space README config
JakgritBInclude the Hugging Face Space YAML front matter required for static Spaces and clarify upload instructions.84143a0 -
docs: add Hugging Face Space landing page
JakgritBAdd static Space assets and upload instructions for the lablab.ai AMD Developer Hackathon public demo page.d8bf65d -
fix(frontend): import React for JSX runtime
JakgritBPrevent the Vite dev app from rendering a blank page by ensuring React is available in App.jsx when JSX is transformed.a05a82e -
docs: add hackathon-ready project README
JakgritBDocument the problem, solution, AMD ROCm and MI300X alignment, Hugging Face and Qwen integrations, architecture, local setup, AMD Cloud deployment path, benchmark plan, and lablab.ai submission checklist.f6ac864 -
chore(infra): add deployment and benchmark tooling
JakgritBAdd Docker Compose with AMD GPU device wiring, AMD Developer Cloud deployment notes, and an API benchmark script for CPU versus MI300X timing comparisons.df9eb37 -
feat(frontend): add human-ai clip editor
JakgritBAdd the React and Tailwind workspace for channel onboarding, YouTube/upload input, pipeline progress, transcript review, clip trimming, subtitle editing, approval, regeneration, and download actions.09e2e7a -
feat(backend): add modular video processing API
JakgritBAdd FastAPI job endpoints, ROCm-aware configuration, Whisper and Qwen service boundaries, ffmpeg clip rendering, subtitle generation, timing logs, and file-backed MVP job storage.dbc3c35 -
chore: initialize project metadata
JakgritBAdd the environment template, ignore rules, and MIT license required for an open hackathon submission.12a024d