rahul7star commited on
Commit
ec3a6c3
·
verified ·
1 Parent(s): e17facd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ print("Pipeline loaded!")
16
  @spaces.GPU
17
  def generate_image(prompt, height, width, num_inference_steps, seed, randomize_seed):
18
  """Generate an image from the given prompt."""
 
19
  if randomize_seed:
20
  seed = torch.randint(0, 2**32 - 1, (1,)).item()
21
 
 
16
  @spaces.GPU
17
  def generate_image(prompt, height, width, num_inference_steps, seed, randomize_seed):
18
  """Generate an image from the given prompt."""
19
+ print(prompt)
20
  if randomize_seed:
21
  seed = torch.randint(0, 2**32 - 1, (1,)).item()
22