From be71c9b4b7d6707047eaccef0235b92f66e202cf Mon Sep 17 00:00:00 2001 From: Crizomb <62544756+Crizomb@users.noreply.github.com> Date: Thu, 6 Apr 2023 20:14:23 +0200 Subject: [PATCH] Update formating_tools.py --- gpt_env/formating_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gpt_env/formating_tools.py b/gpt_env/formating_tools.py index 8007df1..82d7471 100644 --- a/gpt_env/formating_tools.py +++ b/gpt_env/formating_tools.py @@ -10,6 +10,7 @@ def remove_trailing_newline(s): return s def isolate_code_bloc(soup): + """Get codes bloc from the raw html of chatgpt website return a CodeBloc""" pre_tab = soup.find_all("pre") code_bloc = [] for code in pre_tab: