jbilcke-hf HF staff commited on
Commit
4872066
·
1 Parent(s): 058800c

fix critical bug

Browse files
Files changed (1) hide show
  1. src/utils/parseRenderRequest.mts +1 -1
src/utils/parseRenderRequest.mts CHANGED
@@ -20,7 +20,7 @@ export function parseRenderRequest(request: RenderRequest) {
20
 
21
  // but obviously we will treat 0 as the random seed at a later stage
22
 
23
- request.upscaling = getValidNumber(request.upscaling, 0, 4, 0)
24
 
25
  request.nbSteps = getValidNumber(request.nbSteps, 5, 50, 10)
26
 
 
20
 
21
  // but obviously we will treat 0 as the random seed at a later stage
22
 
23
+ request.upscalingFactor = getValidNumber(request.upscalingFactor, 0, 4, 0)
24
 
25
  request.nbSteps = getValidNumber(request.nbSteps, 5, 50, 10)
26