Skip to content

Commit

Permalink
chore: update Image2Image and Upscale OS storage to use requestID sim…
Browse files Browse the repository at this point in the history
…ilar to Text2Image and Image2Video (#3092)
  • Loading branch information
ad-astra-video authored Jul 4, 2024
1 parent b2933cf commit f2c9bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/ai_mediaserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (ls *LivepeerServer) ImageToImage() http.Handler {

params := aiRequestParams{
node: ls.LivepeerNode,
os: drivers.NodeStorage.NewSession(string(core.RandomManifestID())),
os: drivers.NodeStorage.NewSession(requestID),
sessManager: ls.AISessionManager,
}

Expand Down Expand Up @@ -295,7 +295,7 @@ func (ls *LivepeerServer) Upscale() http.Handler {

params := aiRequestParams{
node: ls.LivepeerNode,
os: drivers.NodeStorage.NewSession(string(core.RandomManifestID())),
os: drivers.NodeStorage.NewSession(requestID),
sessManager: ls.AISessionManager,
}

Expand Down

0 comments on commit f2c9bb6

Please sign in to comment.