added all returns to yield in bot_comms
Browse files
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 |
-
|
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 = []
|