Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Cinema Studio: say how much of the project limit is spent

Claudeba940ec7ae29
diff --git a/src/components/cinema/workspace.tsx b/src/components/cinema/workspace.tsx
index 6fbccd03..22216a39 100644
--- a/src/components/cinema/workspace.tsx
+++ b/src/components/cinema/workspace.tsx
@@ -340,8 +340,8 @@ function Workspace({ data, items, loading }: { data: ProjectView; items: CinemaG
<p className="hidden truncate text-[11.5px] text-muted-foreground sm:block">
Cinema Studio
{project.description ? ` · ${project.description}` : ""}
- {spentUsd > 0 ? ` · ≈ ${formatCost(spentUsd)} spent` : ""}
- {project.costCapUsd != null ? ` of ${formatCost(project.costCapUsd) || "$0"}` : ""}
+ {spentUsd > 0 || project.costCapUsd != null ? ` · ≈ ${spentUsd > 0 ? formatCost(spentUsd) : "$0"} spent` : ""}
+ {project.costCapUsd != null ? ` of ${project.costCapUsd > 0 ? formatCost(project.costCapUsd) : "$0"}` : ""}
</p>
</div>
<EngineSwitch value={engine} onChange={setEngine} size="sm" />