harris1 commited on
Commit
890434a
·
verified ·
1 Parent(s): 36036a7

Update openai_client.py

Browse files
Files changed (1) hide show
  1. openai_client.py +1 -1
openai_client.py CHANGED
@@ -70,7 +70,7 @@ def refactor_code(code_snippet):
70
  ]
71
  )
72
 
73
- return refactor.splitlines()
74
  except Exception as e:
75
  return "Sorry, an error occurred while refactoring your code. Please try again later."
76
 
 
70
  ]
71
  )
72
 
73
+ return refactor
74
  except Exception as e:
75
  return "Sorry, an error occurred while refactoring your code. Please try again later."
76