Muhammad-Mehdi commited on
Commit
1dc40e1
·
1 Parent(s): 95412b7

checks fix

Browse files
backend/app/routers/voice.py CHANGED
@@ -11,8 +11,8 @@ from app.auth import Ctx, get_ctx
11
  from app.config import settings
12
  from app.models import Document, Job, Upload, VoiceConsent, VoiceProfile
13
  from app.services import tts
14
- from app.services.notestack_voices import forget_video_voice
15
  from app.services.jobs import create_job, record_usage, serialize_job
 
16
  from app.services.plans import effective_plan, plan_limit_error
17
  from app.services.storage import storage
18
 
 
11
  from app.config import settings
12
  from app.models import Document, Job, Upload, VoiceConsent, VoiceProfile
13
  from app.services import tts
 
14
  from app.services.jobs import create_job, record_usage, serialize_job
15
+ from app.services.notestack_voices import forget_video_voice
16
  from app.services.plans import effective_plan, plan_limit_error
17
  from app.services.storage import storage
18
 
frontend/src/components/video/SceneList.tsx CHANGED
@@ -58,7 +58,7 @@ export function SceneList(p: PanelProps & { aiEditsLeft: number | null }) {
58
  <div className="vw-scenes-head">
59
  <h2>{p.project.name}</h2>
60
  <span className="muted">
61
- {summary?.scenes ?? scenes.length} scenes{summary ? ` — ${summary.images} images, ${summary.clips ?? 0} stock clips` : ""}. Click <strong className="vw-accent">Edit</strong> on
62
  any scene to change it.
63
  </span>
64
  </div>
 
58
  <div className="vw-scenes-head">
59
  <h2>{p.project.name}</h2>
60
  <span className="muted">
61
+ {summary?.scenes ?? scenes.length} scenes{summary ? `: ${summary.images} images, ${summary.clips ?? 0} stock clips` : ""}. Click <strong className="vw-accent">Edit</strong> on
62
  any scene to change it.
63
  </span>
64
  </div>
frontend/src/components/video/sceneCode.ts CHANGED
@@ -98,7 +98,7 @@ export function withoutMedia(scene: VideoScene, template: string, filename: stri
98
  return withProps(scene, template, patch);
99
  }
100
 
101
- /** The template's own name for a layout (blog2video's layout_names, e.g. "News Headline — Broadsheet" for
102
  * news_headline__v2), else the id title-cased: "cinematic_title" -> "Cinematic Title". */
103
  export function layoutName(id: string | null | undefined, names?: Record<string, string> | null): string {
104
  if (id && names?.[id]) return names[id];
 
98
  return withProps(scene, template, patch);
99
  }
100
 
101
+ /** The template's own name for a layout (blog2video's layout_names, e.g. "News Headline: Broadsheet" for
102
  * news_headline__v2), else the id title-cased: "cinematic_title" -> "Cinematic Title". */
103
  export function layoutName(id: string | null | undefined, names?: Record<string, string> | null): string {
104
  if (id && names?.[id]) return names[id];