AlbertoFH98 commited on
Commit
0c464a4
·
1 Parent(s): ad5f6fd

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -3
utils.py CHANGED
@@ -243,9 +243,8 @@ def wrap_text_preserve_newlines(text, width=110):
243
 
244
  return wrapped_text
245
 
246
- def process_llm_response(llm_response, nlp):
247
- response = llm_response['result']
248
- return wrap_text_preserve_newlines(response)
249
 
250
 
251
  def time_to_seconds(time_str):
 
243
 
244
  return wrapped_text
245
 
246
+ def process_llm_response(llm_response):
247
+ return wrap_text_preserve_newlines(llm_response)
 
248
 
249
 
250
  def time_to_seconds(time_str):