Spaces:
Sleeping
Sleeping
Update openai_client.py
Browse files- openai_client.py +1 -1
openai_client.py
CHANGED
@@ -70,7 +70,7 @@ def refactor_code(code_snippet):
|
|
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 |
|
|
|
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 |
|