Manjushri commited on
Commit
1afcf34
·
1 Parent(s): 7b37776

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def upscale_image(model, input_image):
25
  low_res_img = input_image.resize((128, 128))
26
  upscaled_image = sd_2_1_4x(prompt="Sony A7 IV Camera Photo", negative_prompt='Deformity', image=low_res_img, num_inference_steps=5).images[0]
27
  else:
28
- upscaled_image = sd_2_0_2x(prompt="Sony A7 IV Camera Photo", , negative_prompt='Deformity', image=input_image, num_inference_steps=5).images[0]
29
  # Return the upscaled image
30
  return upscaled_image
31
 
 
25
  low_res_img = input_image.resize((128, 128))
26
  upscaled_image = sd_2_1_4x(prompt="Sony A7 IV Camera Photo", negative_prompt='Deformity', image=low_res_img, num_inference_steps=5).images[0]
27
  else:
28
+ upscaled_image = sd_2_0_2x(prompt="Sony A7 IV Camera Photo", negative_prompt='Deformity', image=input_image, num_inference_steps=5).images[0]
29
  # Return the upscaled image
30
  return upscaled_image
31