[decorators] seed = 1 -> seed = random.randint(0, 1000)
Browse files
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 |
-
|
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'
|