amgad59 commited on
Commit
b164e11
·
1 Parent(s): c7d3bc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def generate_image_fn(prompt: str, unconditional_guidance_scale: int) -> list:
40
  prompt,
41
  batch_size=num_images_to_gen,
42
  unconditional_guidance_scale=unconditional_guidance_scale,
43
- ).to('cpu')
44
  end_time = time.time()
45
  print(f"Time taken: {end_time - start_time} seconds.")
46
  return [image for image in images]
 
40
  prompt,
41
  batch_size=num_images_to_gen,
42
  unconditional_guidance_scale=unconditional_guidance_scale,
43
+ )
44
  end_time = time.time()
45
  print(f"Time taken: {end_time - start_time} seconds.")
46
  return [image for image in images]