CryptoScoutv1 commited on
Commit
cb52d86
·
verified ·
1 Parent(s): 6b18f43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ async def chat(ctx, prompt: str):
76
  try:
77
  job.result()
78
  response = job.outputs()[-1]
79
- await ctx.send(truncate_response(response)) # Send the LLM response
80
  except QueueError:
81
  await ctx.send("The gradio space powering this bot is really busy! Please try again later!")
82
  except Exception as e:
 
76
  try:
77
  job.result()
78
  response = job.outputs()[-1]
79
+ await ctx.send(f"```{truncate_response(response)}```") # Send the LLM response
80
  except QueueError:
81
  await ctx.send("The gradio space powering this bot is really busy! Please try again later!")
82
  except Exception as e: