mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-01 07:58:23 +00:00
remove hack
This commit is contained in:
1 parent
3191b627aa
commit
43052b072c
1 file changed
-9
-9
@@ -71,15 +71,6 @@ pub async fn run_pipeline_v2(args: RunPipelineV2Args<'_>) -> Result<PipelineResu
|
||||
let mut cost_builder = router_builder.clone();
|
||||
cost_builder.provider = Provider::Artcraft;
|
||||
|
||||
if matches!(provider, Provider::GmiCloud) {
|
||||
// We bill global Seedance 2.0 at the same rate (for now) as regular Seedance 2.0
|
||||
match cost_builder.model {
|
||||
CommonVideoModel::Seedance2p0Global => cost_builder.model = CommonVideoModel::Seedance2p0,
|
||||
CommonVideoModel::Seedance2p0FastGlobal => cost_builder.model = CommonVideoModel::Seedance2p0Fast,
|
||||
_ => {},
|
||||
}
|
||||
}
|
||||
|
||||
cost_builder.build2()
|
||||
.map_err(|e| {
|
||||
warn!("Failed to build2 cost estimate for v2: {}", e);
|
||||
|
||||
Reference in new issue
Block a user