Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
f7a5266
·
verified ·
1 Parent(s): a82348a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -183,6 +183,8 @@ async def add_exp(member_id):
183
  new_xp = old_xp + XP_PER_MESSAGE
184
  print(f"new_xp = old_xp + XP_PER_MESSAGE / {new_xp} = {old_xp} + {XP_PER_MESSAGE}")
185
  data.loc[index, 'discord_exp'] = new_xp # do not change column name
 
 
186
  print(f"Record for {member} updated from {old_xp} to {new_xp} (+{XP_PER_MESSAGE}) ")
187
 
188
  # level up
 
183
  new_xp = old_xp + XP_PER_MESSAGE
184
  print(f"new_xp = old_xp + XP_PER_MESSAGE / {new_xp} = {old_xp} + {XP_PER_MESSAGE}")
185
  data.loc[index, 'discord_exp'] = new_xp # do not change column name
186
+ test = data.loc[index, 'discord_exp']
187
+ print(test)
188
  print(f"Record for {member} updated from {old_xp} to {new_xp} (+{XP_PER_MESSAGE}) ")
189
 
190
  # level up