lunarflu HF Staff commited on
Commit
ab6fd0b
Β·
1 Parent(s): 5bb5b3a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ async def on_reaction_add(reaction, user):
150
  attachment = reaction.message.attachments[0]
151
  emoji = reaction.emoji
152
 
153
- if reaction.emoji.name == 'πŸ‘':
154
  if message.attachments:
155
  if user.id == message.mentions[0].id: # all we care about is upscaling whatever image this is
156
  stage_1_result_path = "/tmp/s1rp"
 
150
  attachment = reaction.message.attachments[0]
151
  emoji = reaction.emoji
152
 
153
+ if emoji == 'πŸ‘':
154
  if message.attachments:
155
  if user.id == message.mentions[0].id: # all we care about is upscaling whatever image this is
156
  stage_1_result_path = "/tmp/s1rp"