sandz7 commited on
Commit
dd8c358
Β·
1 Parent(s): 6402d69

added all returns to yield in bot_comms

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -240,7 +240,7 @@ async def bot_comms(message, history):
240
 
241
  if message["text"] == "check cuda":
242
  logger.debug("Checking CUDA availability.")
243
- return check_cuda_availability()
244
 
245
  buffer = ""
246
  gpt_outputs = []
 
240
 
241
  if message["text"] == "check cuda":
242
  logger.debug("Checking CUDA availability.")
243
+ yield check_cuda_availability()
244
 
245
  buffer = ""
246
  gpt_outputs = []