Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
50a49ae
·
1 Parent(s): 4753c81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ async def save_forum(ctx, channel_id: int):
56
  async for message in thread.history(limit=None):
57
  messages.append(message)
58
 
59
- messages = messages.reversed()
60
  print(messages) # debug
61
 
62
  with open("gradio-questions.json", 'w', encoding='utf-8') as file:
 
56
  async for message in thread.history(limit=None):
57
  messages.append(message)
58
 
59
+ messages = messages.reverse()
60
  print(messages) # debug
61
 
62
  with open("gradio-questions.json", 'w', encoding='utf-8') as file: