barunsaha commited on
Commit
da55c2a
1 Parent(s): 9921888

Remove print

Browse files
Files changed (1) hide show
  1. helpers/text_helper.py +0 -2
helpers/text_helper.py CHANGED
@@ -34,7 +34,6 @@ def get_clean_json(json_str: str) -> str:
34
  # ```vbnet
35
  # Please note that the JSON output is in valid format but the content of the "Role of GPUs in AI" slide is just an example and may not be factually accurate. For accurate information, you should consult relevant resources and update the content accordingly.
36
  # ```
37
- str_len = len(json_str)
38
  response_cleaned = json_str
39
 
40
  while True:
@@ -46,7 +45,6 @@ def get_clean_json(json_str: str) -> str:
46
  # In the ideal scenario, the character before the last ``` should be
47
  # a new line or a closing bracket }
48
  prev_char = json_str[idx - 1]
49
- print(f'{idx=}, {prev_char=}')
50
 
51
  if prev_char == '}':
52
  response_cleaned = json_str[:idx]
 
34
  # ```vbnet
35
  # Please note that the JSON output is in valid format but the content of the "Role of GPUs in AI" slide is just an example and may not be factually accurate. For accurate information, you should consult relevant resources and update the content accordingly.
36
  # ```
 
37
  response_cleaned = json_str
38
 
39
  while True:
 
45
  # In the ideal scenario, the character before the last ``` should be
46
  # a new line or a closing bracket }
47
  prev_char = json_str[idx - 1]
 
48
 
49
  if prev_char == '}':
50
  response_cleaned = json_str[:idx]