lunarflu commited on
Commit
8c839b0
·
1 Parent(s): 946a765

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -656,7 +656,7 @@ async def on_message(message):
656
  # for added security, we could verify if message.content contains symbols used in commands; But those will fail anyways (see safetychecks)
657
  job = falconclient.submit(message.content, chathistory, instructions, 0.8, 0.9, fn_index=1) # job is similar to run_in_executor (but better)
658
  while job.done() == False:
659
- #status = job.status() # this could be used for debugging etc
660
  #print(status)
661
  else:
662
  file_paths = job.outputs() # file_paths = ["tmp123.json", "tmp456.json," etc...]
 
656
  # for added security, we could verify if message.content contains symbols used in commands; But those will fail anyways (see safetychecks)
657
  job = falconclient.submit(message.content, chathistory, instructions, 0.8, 0.9, fn_index=1) # job is similar to run_in_executor (but better)
658
  while job.done() == False:
659
+ status = job.status() # this could be used for debugging etc
660
  #print(status)
661
  else:
662
  file_paths = job.outputs() # file_paths = ["tmp123.json", "tmp456.json," etc...]