sandz7 commited on
Commit
8f939e2
Β·
1 Parent(s): ccb2f58

added all returns for modes on input_text

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,9 +133,9 @@ def bot_comms(input_text: str,
133
 
134
  if input_text == "mode":
135
  if llm_mode == "":
136
- yield "The mode is currently at Loki Default mode"
137
  else:
138
- yield f"The current mode: {llm_mode}"
139
 
140
  if input_text == "check cuda":
141
  cuda_info = check_cuda()
 
133
 
134
  if input_text == "mode":
135
  if llm_mode == "":
136
+ return "The mode is currently at Loki Default mode"
137
  else:
138
+ return f"The current mode: {llm_mode}"
139
 
140
  if input_text == "check cuda":
141
  cuda_info = check_cuda()