lunarflu HF Staff commited on
Commit
051544e
·
1 Parent(s): 2485452

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -427,7 +427,7 @@ async def dfif2(index: int, stage_1_result_path, thread, dfif_command_message_id
427
  parent_channel = thread.parent
428
  dfif_command_message = await parent_channel.fetch_message(dfif_command_message_id)
429
  await dfif_command_message.add_reaction(success_emoji)
430
- await ctx.message.remove_reaction('⏳')
431
 
432
  except Exception as e:
433
  print(f"Error: {e}")
@@ -438,7 +438,7 @@ async def dfif2(index: int, stage_1_result_path, thread, dfif_command_message_id
438
  parent_channel = thread.parent
439
  dfif_command_message = await parent_channel.fetch_message(dfif_command_message_id)
440
  await dfif_command_message.add_reaction(failure_emoji)
441
- await ctx.message.remove_reaction('⏳')
442
  await thread.send(f"Error during stage 2 upscaling.")
443
  #----------------------------------------------------------------------------------------------------------------------------
444
  # react detector for stage 2 ✅
 
427
  parent_channel = thread.parent
428
  dfif_command_message = await parent_channel.fetch_message(dfif_command_message_id)
429
  await dfif_command_message.add_reaction(success_emoji)
430
+ await dfif_command_message.remove_reaction('⏳')
431
 
432
  except Exception as e:
433
  print(f"Error: {e}")
 
438
  parent_channel = thread.parent
439
  dfif_command_message = await parent_channel.fetch_message(dfif_command_message_id)
440
  await dfif_command_message.add_reaction(failure_emoji)
441
+ await dfif_command_message.remove_reaction('⏳')
442
  await thread.send(f"Error during stage 2 upscaling.")
443
  #----------------------------------------------------------------------------------------------------------------------------
444
  # react detector for stage 2 ✅