lunarflu HF Staff commited on
Commit
eb409dd
·
1 Parent(s): fb49fbe
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def create_button_row(ctx, image_paths, stage_1_result_path):
79
  @bot.event
80
  async def on_ready():
81
  print('Logged on as', bot.user)
82
- bot.log_channel = bot.get_channel(1107006391547342910) # 1100458786826747945 = bot-test, 1107006391547342910 = lunarbot server
83
 
84
  @bot.event
85
  async def on_message_edit(before, after):
@@ -257,6 +257,7 @@ async def deepfloydif(ctx, *, prompt: str):
257
  @commands.cooldown(1, 5, commands.BucketType.user)
258
  async def dfif2(ctx, image_path, stage_1_result_path):
259
  try:
 
260
  selected_index_for_stage_2 = image_path
261
  seed_2 = 0
262
  guidance_scale_2 = 4
 
79
  @bot.event
80
  async def on_ready():
81
  print('Logged on as', bot.user)
82
+ bot.log_channel = bot.get_channel(1100458786826747945) # 1100458786826747945 = bot-test, 1107006391547342910 = lunarbot server
83
 
84
  @bot.event
85
  async def on_message_edit(before, after):
 
257
  @commands.cooldown(1, 5, commands.BucketType.user)
258
  async def dfif2(ctx, image_path, stage_1_result_path):
259
  try:
260
+ if (image_p)
261
  selected_index_for_stage_2 = image_path
262
  seed_2 = 0
263
  guidance_scale_2 = 4