kenken999 commited on
Commit
d61a99c
·
1 Parent(s): 8ad0268
controllers/gra_02_openInterpreter/OpenInterpreter.py CHANGED
@@ -120,9 +120,9 @@ def format_responses(chunk, full_response):
120
  # This function will format the response from the interpreter
121
  return full_response + chunk.get("content", "")
122
 
123
- def chat_with_interpreter(message, history=None,password=None, temperature=None, max_new_tokens=None):
124
 
125
- if password != "12345":
126
  yield "full_response"
127
  return "full_response", history
128
 
 
120
  # This function will format the response from the interpreter
121
  return full_response + chunk.get("content", "")
122
 
123
+ def chat_with_interpreter(message, history=None,passw=None, temperature=None, max_new_tokens=None):
124
 
125
+ if passw != "12345":
126
  yield "full_response"
127
  return "full_response", history
128