sandz7 commited on
Commit
06abb8b
Β·
verified Β·
1 Parent(s): bde105a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -117,7 +117,7 @@ def diffusing(prompt,
117
  Generates an image using Stable Diffusion based on the input prompt.
118
  """
119
 
120
- image = base(
121
  prompt=prompt,
122
  num_inference_steps=40,
123
  denoising_end=0.8,
@@ -127,7 +127,7 @@ def diffusing(prompt,
127
  prompt=prompt,
128
  num_inference_steps=40,
129
  denoising_start=0.8,
130
- image=image
131
  ).images[0]
132
  print(f"\n\nImage has been diffused:\n {image}\n\n")
133
  return image
 
117
  Generates an image using Stable Diffusion based on the input prompt.
118
  """
119
 
120
+ image_base = base(
121
  prompt=prompt,
122
  num_inference_steps=40,
123
  denoising_end=0.8,
 
127
  prompt=prompt,
128
  num_inference_steps=40,
129
  denoising_start=0.8,
130
+ image=image_base
131
  ).images[0]
132
  print(f"\n\nImage has been diffused:\n {image}\n\n")
133
  return image