lunarflu HF Staff commited on
Commit
c930197
·
1 Parent(s): 68e144d

[decorators] seed = 1 -> seed = random.randint(0, 1000)

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -51,12 +51,12 @@ async def deepfloydif(ctx, *, prompt: str):
51
  thread = await ctx.message.create_thread(name=f'{ctx.author} Image Upscaling Thread ')
52
  # create thread -> send new message inside thread + combined_image -> add reactions -> dfif2
53
 
54
- current_time = int(time.time())
55
- random.seed(current_time)
56
 
57
  negative_prompt = ''
58
- #seed = random.randint(0, 2**32 - 1)
59
- seed = 1
60
  number_of_images = 4
61
  guidance_scale = 7
62
  custom_timesteps_1 = 'smart50'
 
51
  thread = await ctx.message.create_thread(name=f'{ctx.author} Image Upscaling Thread ')
52
  # create thread -> send new message inside thread + combined_image -> add reactions -> dfif2
53
 
54
+ #current_time = int(time.time())
55
+ #random.seed(current_time)
56
 
57
  negative_prompt = ''
58
+ seed = random.randint(0, 1000)
59
+ #seed = 1
60
  number_of_images = 4
61
  guidance_scale = 7
62
  custom_timesteps_1 = 'smart50'