lunarflu HF Staff commited on
Commit
9067d42
·
1 Parent(s): e8883b9

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ async def on_message(message):
43
  """Backup"""
44
  number_of_messages = number_of_messages + 1
45
  message_link = f"[#{message.channel.name}]({message.jump_url})"
46
- job = test.submit("hi", api_name="/predict")
47
  while not job.done():
48
  await asyncio.sleep(0.2)
49
  #await bot.log_channel.send( later, after testing
 
43
  """Backup"""
44
  number_of_messages = number_of_messages + 1
45
  message_link = f"[#{message.channel.name}]({message.jump_url})"
46
+ job = test.submit(message.content, api_name="/predict")
47
  while not job.done():
48
  await asyncio.sleep(0.2)
49
  #await bot.log_channel.send( later, after testing