Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh1 committed Dec 23, 2024
1 parent 71b14b2 commit 509058f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/ai_mediaserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func (ls *LivepeerServer) StartLiveVideo() http.Handler {

if len(authResp.paramsMap) > 0 {
if _, ok := authResp.paramsMap["prompt"]; !ok && pipeline == "comfyui" {
pipelineParams["prompt"] = authResp.paramsMap
pipelineParams = map[string]interface{}{"prompt": authResp.paramsMap}
} else {
pipelineParams = authResp.paramsMap
}

Check warning on line 474 in server/ai_mediaserver.go

View check run for this annotation

Codecov / codecov/patch

server/ai_mediaserver.go#L470-L474

Added lines #L470 - L474 were not covered by tests
Expand Down

0 comments on commit 509058f

Please sign in to comment.