ygtrfed commited on
Commit
13a006f
·
1 Parent(s): 1a1807c

no upscale

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -331,6 +331,7 @@ def replace_nsfw_images(results):
331
  return results.images
332
 
333
  def upscale(results, prompt, neg_prompt, generator):
 
334
  for i in range(len(results.images)):
335
  results.images.append(UPSCALER(prompt=prompt, negative_prompt=neg_prompt, image=results.images[i], num_inference_steps=20, guidance_scale=0, generator=generator).images[0])
336
  return results
 
331
  return results.images
332
 
333
  def upscale(results, prompt, neg_prompt, generator):
334
+ return results
335
  for i in range(len(results.images)):
336
  results.images.append(UPSCALER(prompt=prompt, negative_prompt=neg_prompt, image=results.images[i], num_inference_steps=20, guidance_scale=0, generator=generator).images[0])
337
  return results